|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bson.util.SimplePool<T>
public abstract class SimplePool<T>
Constructor Summary | |
---|---|
SimplePool()
|
|
SimplePool(int max)
|
Method Summary | |
---|---|
protected abstract T |
createNew()
|
void |
done(T t)
|
T |
get()
|
protected boolean |
ok(T t)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplePool(int max)
public SimplePool()
Method Detail |
---|
protected abstract T createNew()
protected boolean ok(T t)
public T get()
public void done(T t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |