|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.juel.Cache
public final class Cache
Simple (thread-safe) LRU cache. After the cache size reached a certain limit, the least recently used entry is removed, when adding a new entry.
构造方法摘要 | |
---|---|
Cache(int size)
Constructor. |
|
Cache(int size,
Map<String,Tree> secondary)
Constructor. |
方法摘要 | |
---|---|
Tree |
get(String expression)
Lookup tree |
void |
put(String expression,
Tree tree)
Cache tree |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public Cache(int size)
WeakHashMap
as secondary map.
size
- maximum primary cache sizepublic Cache(int size, Map<String,Tree> secondary)
size
- maximum primary cache sizesecondary
- the secondary map (may be null
)方法详细信息 |
---|
public Tree get(String expression)
TreeCache
复制的描述
TreeCache
中的 get
public void put(String expression, Tree tree)
TreeCache
复制的描述
TreeCache
中的 put
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |