Package org.eclipse.jetty.io
Class MappedByteBufferPool.Tagged
- java.lang.Object
-
- org.eclipse.jetty.io.MappedByteBufferPool
-
- org.eclipse.jetty.io.MappedByteBufferPool.Tagged
-
- All Implemented Interfaces:
ByteBufferPool
- Enclosing class:
- MappedByteBufferPool
@Deprecated(since="2021-05-27") public static class MappedByteBufferPool.Tagged extends MappedByteBufferPool
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.io.MappedByteBufferPool
MappedByteBufferPool.Tagged
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ByteBufferPool
ByteBufferPool.Bucket, ByteBufferPool.Lease
-
-
Constructor Summary
Constructors Constructor Description Tagged()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getDirectMemory()
Deprecated.long
getHeapMemory()
Deprecated.long
getMemory(boolean direct)
Deprecated.ByteBuffer
newByteBuffer(int capacity, boolean direct)
Deprecated.Creates a new ByteBuffer of the given capacity and the given directness.-
Methods inherited from class org.eclipse.jetty.io.MappedByteBufferPool
acquire, clear, getDirectByteBufferCount, getHeapByteBufferCount, release
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.io.ByteBufferPool
remove
-
-
-
-
Method Detail
-
newByteBuffer
public ByteBuffer newByteBuffer(int capacity, boolean direct)
Deprecated.Description copied from interface:ByteBufferPool
Creates a new ByteBuffer of the given capacity and the given directness.
- Parameters:
capacity
- the ByteBuffer capacitydirect
- the ByteBuffer directness- Returns:
- a newly allocated ByteBuffer
-
getDirectMemory
@ManagedAttribute("The bytes retained by direct ByteBuffers") public long getDirectMemory()
Deprecated.
-
getHeapMemory
@ManagedAttribute("The bytes retained by heap ByteBuffers") public long getHeapMemory()
Deprecated.
-
getMemory
public long getMemory(boolean direct)
Deprecated.
-
-