Deprecated
as a consequence of Cache being deprecated. See corresponding docs for further information.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Object | get(Object key)
Implements org. |
| public long | getElementCountInMemory()
Implements org. |
| public long | getElementCountOnDisk()
Implements org. |
| public String | |
| public long | getSizeInMemory()
Implements org. |
| public int | |
| public void | lock(Object key)
Implements org. |
| public long | |
| public void | put(Object key, Object value)
Implements org. |
| public Object | |
| public void | |
| public Map | |
| public String | |
| public void | unlock(Object key)
Implements org. |
| public void | update(Object key, Object value)
Implements org. |
| hashtable | back to summary |
|---|---|
| private final Map<K, V> hashtable | |
| regionName | back to summary |
|---|---|
| private final String regionName | |
| HashtableCache | back to summary |
|---|---|
| public HashtableCache(String regionName) | |
| clear | back to summary |
|---|---|
| public void clear() throws CacheException Implements org. Doc from org. Clear the cache | |
| destroy | back to summary |
|---|---|
| public void destroy() throws CacheException Implements org. Doc from org. Clean up | |
| get | back to summary |
|---|---|
| public Object get(Object key) throws CacheException Implements org. Doc from org. Get an item from the cache, nontransactionally
| |
| 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.
| |
| getRegionName | back to summary |
|---|---|
| public String getRegionName() Implements org. Doc from org. Get the name of the cache 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. Doc from org. Get a reasonable "lock timeout" | |
| lock | back to summary |
|---|---|
| public void lock(Object key) throws CacheException Implements org. Doc from org. If this is a clustered cache, lock the item | |
| nextTimestamp | back to summary |
|---|---|
| public long nextTimestamp() Implements org. Doc from org. Generate a timestamp | |
| put | back to summary |
|---|---|
| public void put(Object key, Object value) throws CacheException Implements org. Doc from org. Add an item to the cache, nontransactionally, with failfast semantics | |
| read | back to summary |
|---|---|
| public Object read(Object key) throws CacheException Implements org. Doc from org. Get an item from the cache
| |
| remove | back to summary |
|---|---|
| public void remove(Object key) throws CacheException Implements org. Doc from org. Remove an item from the cache | |
| toMap | back to summary |
|---|---|
| public Map Implements org. Doc from org. optional operation | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| unlock | back to summary |
|---|---|
| public void unlock(Object key) throws CacheException Implements org. Doc from org. If this is a clustered cache, unlock the item | |
| update | back to summary |
|---|---|
| public void update(Object key, Object value) throws CacheException Implements org. Doc from org. Add an item to the cache | |