| Package | Description |
|---|---|
| jdbm.helper |
Miscelaneous utility classes and interfaces.
|
| jdbm.recman |
Core classes for managing persistent objects and processing transactions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CachePolicyListener.cacheObjectEvicted(T obj)
Notification that the cache this listener is attached to is evicting
the object indicated.
|
private LRUCache.CacheEntry |
LRUCache.findNewEntry(K key,
int latchIndex)
Finds a victim entry to be replaced by the given key.
|
protected CacheEntry |
MRU.purgeEntry()
Purge least recently used object from the cache
|
void |
CachePolicy.put(K key,
V value)
Place an object in the cache.
|
void |
MRU.put(K key,
V value)
Place an object in the cache.
|
void |
LRUCache.put(K key,
V value,
long newVersion,
Serializer serializer,
boolean neverReplace)
Updates the entry identified with the key with the new value.
|
void |
SoftCache.put(java.lang.Object key,
java.lang.Object value)
Adds the specified value to the cache under the specified key.
|
private void |
LRUCache.putNewVersion(LRUCache.CacheEntry entry,
K key,
V value,
long newVersion,
int hashIndex,
java.util.concurrent.locks.Lock latch,
Serializer serializer,
boolean neverReplace)
Creates a new version of the given entry with the given new version.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheRecordManager.CacheListener.cacheObjectEvicted(CacheRecordManager.CacheEntry obj)
Notification that cache is evicting an object
|