Package io.atomix.utils.memory
Class BufferCleaner
java.lang.Object
io.atomix.utils.memory.BufferCleaner
Utility class which allows explicit calls to the DirectByteBuffer cleaner method instead of
relying on GC.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfreeBuffer(ByteBuffer buffer) FreeByteBufferif possible.
-
Constructor Details
-
BufferCleaner
public BufferCleaner()
-
-
Method Details
-
freeBuffer
FreeByteBufferif possible.- Throws:
IOException
-