Package org.apache.activemq.memory
Class CacheEntryList
- java.lang.Object
-
- org.apache.activemq.memory.CacheEntryList
-
public class CacheEntryList extends Object
Maintains a simple linked list of CacheEntry objects. It is thread safe.
-
-
Field Summary
Fields Modifier and Type Field Description CacheEntrytail
-
Constructor Summary
Constructors Constructor Description CacheEntryList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(CacheEntry ce)voidclear()CacheEvictorcreateFIFOCacheEvictor()CacheEvictorcreateLIFOCacheEvictor()
-
-
-
Field Detail
-
tail
public final CacheEntry tail
-
-
Method Detail
-
add
public void add(CacheEntry ce)
-
clear
public void clear()
-
createFIFOCacheEvictor
public CacheEvictor createFIFOCacheEvictor()
-
createLIFOCacheEvictor
public CacheEvictor createLIFOCacheEvictor()
-
-