public class GDStar extends AbstractGD
| Modifier and Type | Class and Description |
|---|---|
protected class |
GDStar.GDStarElement
Refined inner class for an element to compare on special value depends on
hits
|
AbstractGD.GDElement| Modifier and Type | Field and Description |
|---|---|
Double |
m_beta |
m_accessMap, m_cacheAgelog4j, m_cacheMap, m_cacheMaxSize, m_evictCount| Constructor and Description |
|---|
GDStar(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.
|
boolean |
test()
return false, on an error.
|
public Double m_beta
protected void hitAccess(Object key)
hitAccess in class AbstractCacheprotected void evict()
evict in class AbstractCachepublic List<Object> removeValues(Object value)
CacheInterfaceremoveValues in interface CacheInterfaceremoveValues in class AbstractCachepublic boolean test()
test in interface CacheInterfacetest in class AbstractCacheprotected void putAccess(Object key)
putAccess in class AbstractCacheCopyright © 2014. All rights reserved.