| Modifier and Type | Field and Description |
|---|---|
| protected final Settings | |
| protected final Cache | underlyingCache
Deprecated
as a consequence of
Cache being deprecated.
|
| Access | Constructor and Description |
|---|---|
| protected | BaseRegionAdapter(Cache underlyingCache, Settings settings)
Deprecated
as a consequence of
Cache being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | contains(Object
The cache key key)Implements org. |
| public void | destroy()
Implements org. |
| public long | getElementCountInMemory()
Implements org. |
| public long | getElementCountOnDisk()
Implements org. |
| public String | |
| public long | getSizeInMemory()
Implements org. |
| public int | |
| public long | |
| public Map |
| settings | back to summary |
|---|---|
| protected final Settings settings | |
| underlyingCache | back to summary |
|---|---|
| protected final Cache underlyingCache
Deprecated as a consequence of | |
| BaseRegionAdapter | back to summary |
|---|---|
| protected BaseRegionAdapter(Cache underlyingCache, Settings settings)
Deprecated as a consequence of | |
| clear | back to summary |
|---|---|
| public void clear() throws CacheException | |
| contains | back to summary |
|---|---|
| public boolean contains(Object key) Implements org. Doc from org. 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 Implements org. Doc from org. The "end state" contract of the region's lifecycle. Called
during
| |
| getElementCountInMemory | back to summary |
|---|---|
| public long getElementCountInMemory() Implements org. Doc from org. The count of entries currently contained in the regions in-memory store.
| |
| getElementCountOnDisk | back to summary |
|---|---|
| public long getElementCountOnDisk() Implements org. Doc from org. The count of entries currently contained in the regions disk store.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Retrieve the name of this region.
| |
| getSizeInMemory | back to summary |
|---|---|
| public long getSizeInMemory() Implements org. Doc from org. The number of bytes is this cache region currently consuming in memory.
| |
| getTimeout | back to summary |
|---|---|
| public int getTimeout() Implements org. | |
| nextTimestamp | back to summary |
|---|---|
| public long nextTimestamp() Implements org. | |
| toMap | back to summary |
|---|---|
| public Map Implements org. Doc from org. Get the contents of this region as a map. Implementors which do not support this notion should simply return an empty map.
| |