public static class ObjectArrayPool.SizePool
extends java.lang.Object
Constructor | Description |
---|---|
SizePool(int arraySize) |
|
SizePool(int arraySize,
int initialSize) |
Modifier and Type | Method | 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 SizePool(int arraySize)
public 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()