Namespaces

Types

Type NonstrictReadWriteCache

Namespace NHibernate.Cache

Interfaces ICacheConcurrencyStrategy

Methods

Properties

Public instance methods

void AfterInsert(CacheKey key, object value, object version)

Do nothing
Parameters
CacheKey key
object value
object version

void AfterUpdate(CacheKey key, object value, object version, ISoftLock lock)

Invalidate the item (again, for safety).
Parameters
CacheKey key
object value
object version
ISoftLock lock

void Clear()

void Destroy()

bool Equals(object obj)

Parameters
return bool
object obj

void Evict(CacheKey key)

Invalidate the item
Parameters
CacheKey key

object Get(CacheKey key, long txTimestamp)

Get the most recent version, if available.
Parameters
return object
CacheKey key
long txTimestamp

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

void Insert(CacheKey key, object value)

Do nothing
Parameters
CacheKey key
object value

ISoftLock Lock(CacheKey key, object version)

Do nothing
Parameters
return ISoftLock
CacheKey key
object version

bool Put(CacheKey key, object value, long txTimestamp, object version, IComparer versionComparator, bool minimalPut)

Add an item to the cache
Parameters
return bool
CacheKey key
object value
long txTimestamp
object version
IComparer versionComparator
bool minimalPut

void Release(CacheKey key, ISoftLock lock)

Invalidate the item (again, for safety).
Parameters
CacheKey key
ISoftLock lock

void Remove(CacheKey key)

Parameters
CacheKey key

string ToString()

Parameters
return string

void Update(CacheKey key, object value)

Invalidate the item
Parameters
CacheKey key
object value

Public properties

ICache Cache get; set;

return ICache

string RegionName get;

Gets the cache region name.
return string