Class CacheService<K,V>
- java.lang.Object
-
- org.onebusaway.presentation.services.cachecontrol.CacheService<K,V>
-
- Direct Known Subclasses:
SiriCacheServiceImpl
public abstract class CacheService<K,V> extends Object
-
-
Constructor Summary
Constructors Constructor Description CacheService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(K key)com.google.common.cache.Cache<K,V>getCache()com.google.common.cache.Cache<K,V>getCache(int timeout, String type)abstract Khash(Object... factors)booleanhashContainsKey(Object... factors)voidhashStore(V value, Object... factors)voidlogStatus()protected abstract voidrefreshCache()Vretrieve(K key)voidsetDisabled(boolean disable)voidsetUseMemcached(boolean useIt)voidstore(K key, V value)voidstore(K key, V value, int timeout)
-
-
-
Method Detail
-
refreshCache
protected abstract void refreshCache()
-
setUseMemcached
public void setUseMemcached(boolean useIt)
-
setDisabled
public void setDisabled(boolean disable)
-
containsKey
public boolean containsKey(K key)
-
hashContainsKey
public boolean hashContainsKey(Object... factors)
-
logStatus
public void logStatus()
-
-