Namespaces

Types

Type CachedItem

Namespace NHibernate.Cache

Interfaces ILockable

Methods

Properties

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

bool IsGettable(long txTimestamp)

Is this item visible to the timestamped transaction?
Parameters
return bool
long txTimestamp

bool IsPuttable(long txTimestamp, object newVersion, IComparer comparator)

Don't overwite already cached items
Parameters
return bool
long txTimestamp
object newVersion
IComparer comparator

CacheLock Lock(long timeout, int id)

Lock the item
Parameters
return CacheLock
long timeout
int id

string ToString()

Parameters
return string

Public properties

long FreshTimestamp get;

The timestamp on the cached data
return long

bool IsLock get;

Not a lock!
return bool

object Value get;

The actual cached data
return object