Namespaces

Types

Type ICache

Namespace NHibernate.Cache

Methods

Properties

Public instance methods

void Clear()

Clear the Cache

void Destroy()

Clean up.

object Get(object key)

Get the object from the Cache
Parameters
return object
object key

void Lock(object key)

If this is a clustered cache, lock the item
Parameters
object key The Key of the Item in the Cache to lock.

long NextTimestamp()

Generate a timestamp
Parameters
return long

void Put(object key, object value)

Parameters
object key
object value

void Remove(object key)

Remove an item from the Cache.
Parameters
object key The Key of the Item in the Cache to remove.

void Unlock(object key)

If this is a clustered cache, unlock the item
Parameters
object key The Key of the Item in the Cache to unlock.

Public properties

string RegionName get;

Gets the name of the cache region
return string

int Timeout get;

Get a reasonable "lock timeout"
return int