Class AutoCloseablePool
java.lang.Object
zombie.util.PooledObject
zombie.util.AutoCloseablePool
- All Implemented Interfaces:
AutoCloseable,IPooledObject
-
Method Summary
Modifier and TypeMethodDescriptionstatic AutoCloseablePoolalloc()<T> Talloc(Supplier<T> supplier, Invokers.Params1.ICallback<T> iCallback) voidclose()voidMethods inherited from class zombie.util.PooledObject
getPoolReference, isFree, release, setFree, setPool
-
Method Details
-
alloc
-
onReleased
public void onReleased()- Specified by:
onReleasedin interfaceIPooledObject
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
alloc
-
allocVector2
-