| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| 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 long | |
| public Map |
| contains | back to summary |
|---|---|
| public boolean contains(Object key) Determine whether this region contains data for the given key. The semantic here is whether the cache contains data visible for the current call context. This should be viewed as a "best effort", meaning blocking should be avoid if possible.
| |
| destroy | back to summary |
|---|---|
| public void destroy() throws CacheException The "end state" contract of the region's lifecycle. Called
during
| |
| 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.
| |
| getName | back to summary |
|---|---|
| public String getName() Retrieve the name of this 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() | |
| nextTimestamp | back to summary |
|---|---|
| public long nextTimestamp() | |
| toMap | back to summary |
|---|---|
| public Map Get the contents of this region as a map. Implementors which do not support this notion should simply return an empty map.
| |