| Package | Description |
|---|---|
| jdbm.helper |
Miscelaneous utility classes and interfaces.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) CacheEntry |
MRU.first
Beginning of linked-list of cache elements.
|
(package private) CacheEntry |
MRU.last
End of linked-list of cache elements.
|
private CacheEntry |
CacheEntry.next |
private CacheEntry |
CacheEntry.previous |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Iterator<CacheEntry> |
MRUEnumeration.elements |
(package private) java.util.Map<java.lang.Object,CacheEntry> |
MRU.map
Cached object Map
|
| Modifier and Type | Method and Description |
|---|---|
(package private) CacheEntry |
CacheEntry.getNext() |
(package private) CacheEntry |
CacheEntry.getPrevious() |
protected CacheEntry |
MRU.purgeEntry()
Purge least recently used object from the cache
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MRU.addEntry(CacheEntry entry)
Add a CacheEntry.
|
protected void |
MRU.removeEntry(CacheEntry entry)
Remove a CacheEntry from linked list, and relink the
remaining element sin the list.
|
(package private) void |
CacheEntry.setNext(CacheEntry entry) |
(package private) void |
CacheEntry.setPrevious(CacheEntry entry) |
protected void |
MRU.touchEntry(CacheEntry entry)
Place entry at the end of linked list -- Most Recently Used
|
| Constructor and Description |
|---|
MRUEnumeration(java.util.Iterator<CacheEntry> elements) |