Class SiriCacheServiceImpl
- java.lang.Object
-
- org.onebusaway.presentation.services.cachecontrol.CacheService<Integer,String>
-
- org.onebusaway.presentation.services.cachecontrol.SiriCacheServiceImpl
-
@Component("CacheService") public class SiriCacheServiceImpl extends CacheService<Integer,String>
-
-
Field Summary
-
Fields inherited from class org.onebusaway.presentation.services.cachecontrol.CacheService
_cache, _disabled, _log, useMemcached
-
-
Constructor Summary
Constructors Constructor Description SiriCacheServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.cache.Cache<Integer,String>getCache()Integerhash(Object... factors)protected voidrefreshCache()voidstore(Integer key, String value)-
Methods inherited from class org.onebusaway.presentation.services.cachecontrol.CacheService
containsKey, getCache, hashContainsKey, hashStore, logStatus, retrieve, setDisabled, setUseMemcached, store
-
-
-
-
Method Detail
-
getCache
public com.google.common.cache.Cache<Integer,String> getCache()
- Overrides:
getCachein classCacheService<Integer,String>
-
refreshCache
@Refreshable(dependsOn="cache.expiry.siri") protected void refreshCache()
- Specified by:
refreshCachein classCacheService<Integer,String>
-
hash
public Integer hash(Object... factors)
- Specified by:
hashin classCacheService<Integer,String>
-
-