org.apache.commons.ognl
Class EvaluationPool

java.lang.Object
  extended by org.apache.commons.ognl.EvaluationPool

Deprecated. evaluation-pooling now relies on the jvm garbage collection

public final class EvaluationPool
extends Object


Constructor Summary
EvaluationPool()
          Deprecated.  
EvaluationPool(int initialSize)
          Deprecated.  
 
Method Summary
 Evaluation create(SimpleNode node, Object source)
          Deprecated. Returns an Evaluation that contains the node, source and whether it is a set operation.
 Evaluation create(SimpleNode node, Object source, boolean setOperation)
          Deprecated. Returns an Evaluation that contains the node, source and whether it is a set operation.
 int getCreatedCount()
          Deprecated. object-pooling now relies on the jvm garbage collection
 int getRecoveredCount()
          Deprecated. object-pooling now relies on the jvm garbage collection
 int getRecycledCount()
          Deprecated. object-pooling now relies on the jvm garbage collection
 int getSize()
          Deprecated. object-pooling now relies on the jvm garbage collection
 void recycle(Evaluation value)
          Deprecated. object-pooling now relies on the jvm garbage collection
 void recycleAll(Evaluation value)
          Deprecated. object-pooling now relies on the jvm garbage collection
 void recycleAll(List value)
          Deprecated. object-pooling now relies on the jvm garbage collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluationPool

public EvaluationPool()
Deprecated. 

EvaluationPool

public EvaluationPool(int initialSize)
Deprecated. 
Method Detail

create

public Evaluation create(SimpleNode node,
                         Object source)
Deprecated. 
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 Evaluation create(SimpleNode node,
                         Object source,
                         boolean setOperation)
Deprecated. 
Returns an Evaluation that contains the node, source and whether it is a set operation.


recycle

public void recycle(Evaluation value)
Deprecated. object-pooling now relies on the jvm garbage collection

Recycles an Evaluation


recycleAll

public void recycleAll(Evaluation value)
Deprecated. object-pooling now relies on the jvm garbage collection

Recycles an of Evaluation and all of it's siblings and children.


recycleAll

public void recycleAll(List value)
Deprecated. object-pooling now relies on the jvm garbage collection

Recycles a List of Evaluation objects


getSize

public int getSize()
Deprecated. object-pooling now relies on the jvm garbage collection

Returns the number of items in the pool


getCreatedCount

public int getCreatedCount()
Deprecated. object-pooling now relies on the jvm garbage collection

Returns the number of items this pool has created since it's construction.


getRecoveredCount

public int getRecoveredCount()
Deprecated. object-pooling now relies on the jvm garbage collection

Returns the number of items this pool has recovered from the pool since its construction.


getRecycledCount

public int getRecycledCount()
Deprecated. object-pooling now relies on the jvm garbage collection

Returns the number of items this pool has recycled since it's construction.



Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.