com.jdon.components.encache
类 EncacheProvider
java.lang.Object
com.jdon.components.encache.EncacheProvider
- 所有已实现的接口:
- Startable, Cache
public class EncacheProvider
- extends Object
- implements Cache, Startable
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncacheProvider
public EncacheProvider(EhcacheConf ehcacheConf)
- configFileName must be defined in container.xml
- 参数:
configFileName -
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
main
public static void main(String[] args)
throws Exception
- 抛出:
Exception
Copyright © 2013. All Rights Reserved.