ariba.util.expr
Class ObjectArrayPool.SizePool

java.lang.Object
  extended by ariba.util.expr.ObjectArrayPool.SizePool
Enclosing class:
ObjectArrayPool

public static class ObjectArrayPool.SizePool
extends java.lang.Object


Constructor Summary
ObjectArrayPool.SizePool(int arraySize)
           
ObjectArrayPool.SizePool(int arraySize, int initialSize)
           
 
Method Summary
 java.lang.Object[] create()
           
 int getArraySize()
           
 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(java.lang.Object[] value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectArrayPool.SizePool

public ObjectArrayPool.SizePool(int arraySize)

ObjectArrayPool.SizePool

public ObjectArrayPool.SizePool(int arraySize,
                                int initialSize)
Method Detail

getArraySize

public int getArraySize()

create

public java.lang.Object[] create()

recycle

public void recycle(java.lang.Object[] value)

getSize

public int getSize()
Returns the number of items in the pool


getCreatedCount

public int getCreatedCount()
Returns the number of items this pool has created since it's construction.


getRecoveredCount

public int getRecoveredCount()
Returns the number of items this pool has recovered from the pool since its construction.


getRecycledCount

public int getRecycledCount()
Returns the number of items this pool has recycled since it's construction.



AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.