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> in_alloc, Invokers.Params1.ICallback<T> in_release) voidclose()voidMethods inherited from class 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
-