public final class EvaluationPool extends Object
Constructor and Description |
---|
EvaluationPool() |
EvaluationPool(int initialSize) |
Modifier and Type | Method and Description |
---|---|
Evaluation |
create(SimpleNode node,
Object source)
Returns an Evaluation that contains the node, source and whether it
is a set operation.
|
Evaluation |
create(SimpleNode node,
Object source,
boolean setOperation)
Returns an Evaluation that contains the node, source and whether it
is a set operation.
|
int |
getCreatedCount()
Returns the number of items this pool has created since
it's construction.
|
int |
getRecoveredCount()
Returns the number of items this pool has recovered from
the pool since its construction.
|
int |
getRecycledCount()
Returns the number of items this pool has recycled since
it's construction.
|
int |
getSize()
Returns the number of items in the pool
|
void |
recycle(Evaluation value)
Recycles an Evaluation
|
void |
recycleAll(Evaluation value)
Recycles an of Evaluation and all of it's siblings
and children.
|
void |
recycleAll(List value)
Recycles a List of Evaluation objects
|
public EvaluationPool()
public EvaluationPool(int initialSize)
public Evaluation create(SimpleNode node, Object source)
public Evaluation create(SimpleNode node, Object source, boolean setOperation)
public void recycle(Evaluation value)
public void recycleAll(Evaluation value)
public void recycleAll(List value)
public int getSize()
public int getCreatedCount()
public int getRecoveredCount()
public int getRecycledCount()
Copyright © 1997–2021 The Apache Software Foundation. All rights reserved.