Package com.biglybt.core.util
Class DirectByteBufferPool
- java.lang.Object
-
- com.biglybt.core.util.DirectByteBufferPool
-
- Direct Known Subclasses:
DirectByteBufferPoolReal
public abstract class DirectByteBufferPool extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static DirectByteBufferPool
impl
-
Constructor Summary
Constructors Constructor Description DirectByteBufferPool()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static DirectByteBuffer
getBuffer(byte allocator, int length)
protected abstract DirectByteBuffer
getBufferSupport(byte allocator, int length)
protected abstract void
returnBufferSupport(DirectByteBuffer buffer)
-
-
-
Field Detail
-
impl
private static final DirectByteBufferPool impl
-
-
Method Detail
-
getBuffer
public static DirectByteBuffer getBuffer(byte allocator, int length)
-
getBufferSupport
protected abstract DirectByteBuffer getBufferSupport(byte allocator, int length)
-
returnBufferSupport
protected abstract void returnBufferSupport(DirectByteBuffer buffer)
-
-