org.apache.activemq.memory
Class CacheEntryList

java.lang.Object
  extended by org.apache.activemq.memory.CacheEntryList

public class CacheEntryList
extends Object

Maintains a simple linked list of CacheEntry objects. It is thread safe.


Field Summary
 CacheEntry tail
           
 
Constructor Summary
CacheEntryList()
           
 
Method Summary
 void add(CacheEntry ce)
           
 void clear()
           
 CacheEvictor createFIFOCacheEvictor()
           
 CacheEvictor createLIFOCacheEvictor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tail

public final CacheEntry tail
Constructor Detail

CacheEntryList

public CacheEntryList()
Method Detail

add

public void add(CacheEntry ce)

clear

public void clear()

createFIFOCacheEvictor

public CacheEvictor createFIFOCacheEvictor()

createLIFOCacheEvictor

public CacheEvictor createLIFOCacheEvictor()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.