net.csdn.modules.cache
Class AppCache
java.lang.Object
net.csdn.modules.cache.AppCache
public class AppCache
- extends Object
4/13/13 WilliamZhu(allwefantasy@gmail.com)
|
Constructor Summary |
AppCache(net.csdn.common.settings.Settings settings)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppCache
@Inject
public AppCache(net.csdn.common.settings.Settings settings)
fetch
public <T> T fetch(String name,
Callable<T> callable)
buildCache
public <K,V> AppCache buildCache(String name,
com.google.common.cache.CacheLoader<K,V> cacheLoader,
int timeByMINUTES)
cache
public com.google.common.cache.LoadingCache cache(String name)
Copyright © 2014. All Rights Reserved.