public class Fifo2ndChance extends AbstractCache
| Modifier and Type | Field and Description |
|---|---|
protected Queue<org.aksw.coyotecache.cache.Fifo2ndChanceElement> |
m_access |
log4j, m_cacheMap, m_cacheMaxSize, m_evictCount| Constructor and Description |
|---|
Fifo2ndChance(int size,
int evictCount) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
evict() |
protected void |
hitAccess(Object key) |
protected void |
putAccess(Object key) |
List<Object> |
removeValues(Object value)
Removes all objects with the value from cache map.
|
String |
toString() |
protected final Queue<org.aksw.coyotecache.cache.Fifo2ndChanceElement> m_access
protected void evict()
evict in class AbstractCacheprotected void hitAccess(Object key)
hitAccess in class AbstractCacheprotected void putAccess(Object key)
putAccess in class AbstractCachepublic List<Object> removeValues(Object value)
CacheInterfaceremoveValues in interface CacheInterfaceremoveValues in class AbstractCachepublic String toString()
toString in class AbstractCacheCopyright © 2014. All rights reserved.