Package com.exedio.cope.util
Interface Pool.Factory<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
create()
void
dispose(E e)
boolean
isValidOnGet(E e)
boolean
isValidOnPut(E e)
If this method returns false, it should also try its best to release any resources associated withe
, because in this casedispose(Object)
is not called by the pool.
-
-
-
Method Detail
-
create
E create()
-
isValidOnGet
boolean isValidOnGet(E e)
-
isValidOnPut
boolean isValidOnPut(E e)
If this method returns false, it should also try its best to release any resources associated withe
, because in this casedispose(Object)
is not called by the pool.
-
dispose
void dispose(E e)
-
-