
Public Member Functions | |
| void | clear () |
| long | count () |
| MCElement | get (String keystring) |
| long | getMaximumSize () |
| long | getSize () |
| Set< String > | keys () |
| LRUCacheStorageDelegate (int maxSize, long maxBytes, long ceilingSize) | |
| void | put (String keystring, MCElement el, int data_length) |
| void | remove (String keystring) |
Private Attributes | |
| LRUCache< String, MCElement > | cache |
| LRUCacheStorageDelegate | ( | int | maxSize, | |
| long | maxBytes, | |||
| long | ceilingSize | |||
| ) |
| void clear | ( | ) |
Flush all entries from the cache
Implements CacheStorage.
| long count | ( | ) |
Retrieve an element from the cache. The retriever is responsible for counting hits, managing expirations, etc.
| keystring | the key identifying the entry |
Implements CacheStorage.
| long getMaximumSize | ( | ) |
| long getSize | ( | ) |
| 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 |
Implements CacheStorage.
| void remove | ( | String | keystring | ) |
1.5.8