Package com.exedio.cope.util
Interface Pool.Factory<E>
public static interface Pool.Factory<E>
-
Method Summary
Modifier and TypeMethodDescriptioncreate()voidbooleanisValidOnGet(E e) booleanisValidOnPut(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 Details
-
create
E create() -
isValidOnGet
-
isValidOnPut
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
-