public class ArrayPool<T> extends AbstractInsightful implements Pool<T>
| Constructor and Description |
|---|
ArrayPool(String name,
Callable<T> factory,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
T |
get() |
int |
objectsCreated() |
void |
release(T obj) |
int |
size() |
String |
toString() |
getCreatorThread, getKind, getNamepublic int objectsCreated()
objectsCreated in interface Pool<T>Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.