Public Member Functions | |
| void | clear () |
| long | count () |
| long | getMaximumSize () |
| long | getSize () |
| Set< String > | keys () |
| void | put (String keystring, MCElement el, int data_length) |
| void | remove (String keystring) |
Package Functions | |
| MCElement | get (String keystring) |
Read and write operations need not be thread safe as the caller (ServerSessionHandler) establishes its own locks.
| void clear | ( | ) |
Flush all entries from the cache
Implemented in LRUCacheStorageDelegate.
| long count | ( | ) |
Retrieve an element from the cache. The retriever is responsible for counting hits, managing expirations, etc.
| keystring | the key identifying the entry |
Implemented in LRUCacheStorageDelegate.
| long getMaximumSize | ( | ) |
| long getSize | ( | ) |
Implemented in LRUCacheStorageDelegate.
| Set<String> keys | ( | ) |
Put an entry into the cache or replace an existing entry.
| keystring | the key identifying the entry | |
| el | the element to place in the cache | |
| data_length |
Implemented in LRUCacheStorageDelegate.
| void remove | ( | String | keystring | ) |
Remove an entry from the cache
| keystring | the key to lookup |
Implemented in LRUCacheStorageDelegate.
1.5.8