Package ognl
Class ObjectArrayPool.SizePool
- java.lang.Object
-
- ognl.ObjectArrayPool.SizePool
-
- Enclosing class:
- ObjectArrayPool
public static class ObjectArrayPool.SizePool extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]create()intgetArraySize()intgetCreatedCount()Returns the number of items this pool has created since it's construction.intgetRecoveredCount()Returns the number of items this pool has recovered from the pool since its construction.intgetRecycledCount()Returns the number of items this pool has recycled since it's construction.intgetSize()Returns the number of items in the poolvoidrecycle(java.lang.Object[] value)
-
-
-
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.
-
-