Uses of Interface
org.eclipse.jetty.io.RetainableByteBuffer
Packages that use RetainableByteBuffer
-
Uses of RetainableByteBuffer in org.eclipse.jetty.io
Classes in org.eclipse.jetty.io that implement RetainableByteBufferModifier and TypeClassDescriptionclassAbstract implementation ofRetainableByteBufferwith reference counting.static classA wrapper forRetainableByteBufferinstancesMethods in org.eclipse.jetty.io that return RetainableByteBufferModifier and TypeMethodDescriptionArrayByteBufferPool.acquire(int size, boolean direct) ByteBufferPool.acquire(int size, boolean direct) Acquires aRetainableByteBufferfrom this pool.ByteBufferPool.NonPooling.acquire(int size, boolean direct) ByteBufferPool.Wrapper.acquire(int size, boolean direct) ByteBufferAccumulator.ensureBuffer(int minAllocationSize) Get the last buffer of the accumulator, this can be written to directly to avoid copying into the accumulator.ByteBufferAccumulator.ensureBuffer(int minSize, int minAllocationSize) Get the last buffer of the accumulator, this can be written to directly to avoid copying into the accumulator.RetainableByteBuffer.Wrapper.getWrapped()ByteBufferOutputStream2.takeByteBuffer()Take the combined buffer containing all content written to the OutputStream.ByteBufferAccumulator.takeRetainableByteBuffer()Take the combined buffer containing all content written to the accumulator.ByteBufferOutputStream2.toByteBuffer()Take the combined buffer containing all content written to the OutputStream.ByteBufferAccumulator.toRetainableByteBuffer()Take the combined buffer containing all content written to the accumulator.static RetainableByteBufferRetainableByteBuffer.wrap(ByteBuffer byteBuffer) Returns a non-retainableRetainableByteBufferthat wraps the givenByteBuffer.Methods in org.eclipse.jetty.io that return types with arguments of type RetainableByteBufferModifier and TypeMethodDescriptionorg.eclipse.jetty.util.Pool<RetainableByteBuffer>ArrayByteBufferPool.poolFor(int capacity, boolean direct) Methods in org.eclipse.jetty.io with parameters of type RetainableByteBufferModifier and TypeMethodDescriptionvoidByteBufferPool.Accumulator.append(RetainableByteBuffer buffer) voidByteBufferPool.Accumulator.insert(int index, RetainableByteBuffer buffer) protected voidArrayByteBufferPool.removed(RetainableByteBuffer retainedBuffer) Constructors in org.eclipse.jetty.io with parameters of type RetainableByteBuffer