| java.lang.Object ognl.EvaluationPool
EvaluationPool | final public class EvaluationPool extends Object (Code) | | |
Method Summary | |
public Evaluation | create(SimpleNode node, Object source) Returns an Evaluation that contains the node, source and whether it
is a set operation. | public synchronized Evaluation | create(SimpleNode node, Object source, boolean setOperation) Returns an Evaluation that contains the node, source and whether it
is a set operation. | public int | getCreatedCount() Returns the number of items this pool has created since
it's construction. | public int | getRecoveredCount() Returns the number of items this pool has recovered from
the pool since its construction. | public int | getRecycledCount() Returns the number of items this pool has recycled since
it's construction. | public int | getSize() | public synchronized void | recycle(Evaluation value) | public void | recycleAll(Evaluation value) Recycles an of Evaluation and all of it's siblings
and children. | public void | recycleAll(List value) |
EvaluationPool | public EvaluationPool()(Code) | | |
EvaluationPool | public EvaluationPool(int initialSize)(Code) | | |
create | public Evaluation create(SimpleNode node, Object source)(Code) | | Returns an Evaluation that contains the node, source and whether it
is a set operation. If there are no Evaluation objects in the
pool one is created and returned.
|
create | public synchronized Evaluation create(SimpleNode node, Object source, boolean setOperation)(Code) | | Returns an Evaluation that contains the node, source and whether it
is a set operation. If there are no Evaluation objects in the
pool one is created and returned.
|
getCreatedCount | public int getCreatedCount()(Code) | | Returns the number of items this pool has created since
it's construction.
|
getRecoveredCount | public int getRecoveredCount()(Code) | | Returns the number of items this pool has recovered from
the pool since its construction.
|
getRecycledCount | public int getRecycledCount()(Code) | | Returns the number of items this pool has recycled since
it's construction.
|
getSize | public int getSize()(Code) | | Returns the number of items in the pool
|
recycle | public synchronized void recycle(Evaluation value)(Code) | | Recycles an Evaluation
|
recycleAll | public void recycleAll(Evaluation value)(Code) | | Recycles an of Evaluation and all of it's siblings
and children.
|
recycleAll | public void recycleAll(List value)(Code) | | Recycles a List of Evaluation objects
|
|
|