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 Treeget(java.lang.String expression)Lookup treevoidput(java.lang.String expression, Tree tree)Cache tree
-
-
-
Constructor Detail
-
Cache
public Cache(int size)
Constructor. Use aWeakHashMapas 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)
-
-