com.servingxml.io.cache
Class CacheEntryList

java.lang.Object
  extended by 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)
           
 
Method Summary
 void append(CacheEntry entry)
           
 int getCount()
           
 CacheEntry getHead()
           
 CacheEntry getTail()
           
 void remove(CacheEntry link)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEntryList

public CacheEntryList(java.util.concurrent.locks.ReadWriteLock rwl)
Method Detail

getCount

public int getCount()

getHead

public CacheEntry getHead()

getTail

public CacheEntry getTail()

remove

public void remove(CacheEntry link)

append

public void append(CacheEntry entry)