| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Object | |
| public long | Returns: The count of entries in memory; -1 if unknown or unsupported.The count of entries currently contained in the regions in-memory store. |
| public long | Returns: The count of entries on disk; -1 if unknown or unsupported.The count of entries currently contained in the regions disk store. |
| public String | |
| public long | Returns: The number of bytes consumed by this region; -1 if unknown or unsupported.The number of bytes is this cache region currently consuming in memory. |
| public int | |
| public void | |
| public long | |
| public void | |
| public Object | |
| public void | |
| public Map | |
| public void | |
| public void |
| clear | back to summary |
|---|---|
| public void clear() throws CacheException Clear the cache | |
| destroy | back to summary |
|---|---|
| public void destroy() throws CacheException Clean up | |
| get | back to summary |
|---|---|
| public Object get(Object key) throws CacheException Get an item from the cache, nontransactionally
| |
| getElementCountInMemory | back to summary |
|---|---|
| public long getElementCountInMemory() The count of entries currently contained in the regions in-memory store.
| |
| getElementCountOnDisk | back to summary |
|---|---|
| public long getElementCountOnDisk() The count of entries currently contained in the regions disk store.
| |
| getRegionName | back to summary |
|---|---|
| public String getRegionName() Get the name of the cache region | |
| getSizeInMemory | back to summary |
|---|---|
| public long getSizeInMemory() The number of bytes is this cache region currently consuming in memory.
| |
| getTimeout | back to summary |
|---|---|
| public int getTimeout() Get a reasonable "lock timeout" | |
| lock | back to summary |
|---|---|
| public void lock(Object key) throws CacheException If this is a clustered cache, lock the item | |
| nextTimestamp | back to summary |
|---|---|
| public long nextTimestamp() Generate a timestamp | |
| put | back to summary |
|---|---|
| public void put(Object key, Object value) throws CacheException Add an item to the cache, nontransactionally, with failfast semantics | |
| read | back to summary |
|---|---|
| public Object read(Object key) throws CacheException Get an item from the cache
| |
| remove | back to summary |
|---|---|
| public void remove(Object key) throws CacheException Remove an item from the cache | |
| toMap | back to summary |
|---|---|
| public Map optional operation | |
| unlock | back to summary |
|---|---|
| public void unlock(Object key) throws CacheException If this is a clustered cache, unlock the item | |
| update | back to summary |
|---|---|
| public void update(Object key, Object value) throws CacheException Add an item to the cache | |