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