com.servingxml.io.cache
Class CacheEntryList
java.lang.Object
com.servingxml.io.cache.CacheEntryList
public class CacheEntryList
- extends java.lang.Object
A doubly linked list of cache entries. The head is the least recently used entry and
the tail is the most recently used entry.
Constructor Summary |
CacheEntryList(java.util.concurrent.locks.ReadWriteLock rwl)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheEntryList
public CacheEntryList(java.util.concurrent.locks.ReadWriteLock rwl)
getCount
public int getCount()
getHead
public CacheEntry getHead()
getTail
public CacheEntry getTail()
remove
public void remove(CacheEntry link)
append
public void append(CacheEntry entry)