Methods Summary |
---|
public void | clear()Clear the cache
|
public void | destroy()Clean up
|
public java.lang.Object | get(java.lang.Object key)Get an item from the cache, nontransactionally
|
public long | getElementCountInMemory()The count of entries currently contained in the regions in-memory store.
|
public long | getElementCountOnDisk()The count of entries currently contained in the regions disk store.
|
public java.lang.String | getRegionName()Get the name of the cache region
|
public long | getSizeInMemory()The number of bytes is this cache region currently consuming in memory.
|
public int | getTimeout()Get a reasonable "lock timeout"
|
public void | lock(java.lang.Object key)If this is a clustered cache, lock the item
|
public long | nextTimestamp()Generate a timestamp
|
public void | put(java.lang.Object key, java.lang.Object value)Add an item to the cache, nontransactionally, with
failfast semantics
|
public java.lang.Object | read(java.lang.Object key)Get an item from the cache
|
public void | remove(java.lang.Object key)Remove an item from the cache
|
public java.util.Map | toMap()optional operation
|
public void | unlock(java.lang.Object key)If this is a clustered cache, unlock the item
|
public void | update(java.lang.Object key, java.lang.Object value)Add an item to the cache
|