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 CacheEntry
tail
-
Constructor Summary
Constructors Constructor Description CacheEntryList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(CacheEntry ce)
void
clear()
CacheEvictor
createFIFOCacheEvictor()
CacheEvictor
createLIFOCacheEvictor()
-
-
-
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()
-
-