ognl
public static class ObjectArrayPool.SizePool extends java.lang.Object
Constructor and Description |
---|
ObjectArrayPool.SizePool(int arraySize) |
ObjectArrayPool.SizePool(int arraySize,
int initialSize) |
Modifier and Type | Method and Description |
---|---|
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) |
public ObjectArrayPool.SizePool(int arraySize)
public ObjectArrayPool.SizePool(int arraySize, int initialSize)
public int getArraySize()
public java.lang.Object[] create()
public void recycle(java.lang.Object[] value)
public int getSize()
public int getCreatedCount()
public int getRecoveredCount()
public int getRecycledCount()