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