com.jdon.components.guavacache
类 GuavaCacheProvider
java.lang.Object
com.jdon.components.guavacache.GuavaCacheProvider
- 所有已实现的接口:
- Startable, Cache
public class GuavaCacheProvider
- extends Object
- implements Cache, Startable
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuavaCacheProvider
public GuavaCacheProvider(GuavaCacheConf guavaCacheConf)
start
public void start()
- 从接口
Startable 复制的描述
- Start this component.
- 指定者:
- 接口
Startable 中的 start
stop
public void stop()
- 从接口
Startable 复制的描述
- Stop this component.
- 指定者:
- 接口
Startable 中的 stop
get
public Object get(Object key)
- 指定者:
- 接口
Cache 中的 get
put
public void put(Object key,
Object value)
- 指定者:
- 接口
Cache 中的 put
remove
public void remove(Object key)
- 指定者:
- 接口
Cache 中的 remove
size
public long size()
- 指定者:
- 接口
Cache 中的 size
clear
public void clear()
- 指定者:
- 接口
Cache 中的 clear
contain
public boolean contain(Object key)
- 指定者:
- 接口
Cache 中的 contain
keySet
public Collection keySet()
- 指定者:
- 接口
Cache 中的 keySet
getCacheHits
public long getCacheHits()
- 指定者:
- 接口
Cache 中的 getCacheHits
getCacheMisses
public long getCacheMisses()
- 指定者:
- 接口
Cache 中的 getCacheMisses
Copyright © 2013. All Rights Reserved.