Package engine.misc
Class DeallocationHelper.Deallocator
- java.lang.Object
-
- engine.misc.DeallocationHelper.Deallocator
-
- Direct Known Subclasses:
DeallocationHelper.AndroidDeallocator,DeallocationHelper.ApacheHarmonyDeallocator,DeallocationHelper.GnuClasspathDeallocator,DeallocationHelper.OracleSunOpenJdkDeallocator
- Enclosing class:
- DeallocationHelper
public abstract static class DeallocationHelper.Deallocator extends Object
tool responsible for releasing the native memory of a deallocatable byte buffer
-
-
Constructor Summary
Constructors Constructor Description Deallocator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanrun(ByteBuffer directByteBuffer)releases the native memory of a deallocatable byte buffer
-
-
-
Field Detail
-
logger
protected final Log logger
-
-
Method Detail
-
run
public abstract boolean run(ByteBuffer directByteBuffer)
releases the native memory of a deallocatable byte buffer- Parameters:
directByteBuffer- deallocatable byte buffer- Returns:
trueif the deallocation is successful, otherwisefalse
-
-