Package org.camunda.bpm.engine.impl.juel
Class Cache
- java.lang.Object
-
- org.camunda.bpm.engine.impl.juel.Cache
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tree
get(java.lang.String expression)
Lookup treevoid
put(java.lang.String expression, Tree tree)
Cache tree
-
-
-
Constructor Detail
-
Cache
public Cache(int size)
Constructor. Use aWeakHashMap
as secondary map.- Parameters:
size
- maximum primary cache size
-
Cache
public Cache(int size, java.util.Map<java.lang.String,Tree> secondary)
Constructor. If the least recently used entry is removed from the primary cache, it is added to the secondary map.- Parameters:
size
- maximum primary cache sizesecondary
- the secondary map (may benull
)
-
-