Uses of Interface
org.eclipse.jetty.io.ByteBufferPool
Packages that use ByteBufferPool
Package
Description
Jetty IO : Core classes for Jetty IO subsystem
Jetty IO : Core SSL Support
-
Uses of ByteBufferPool in org.eclipse.jetty.io
Classes in org.eclipse.jetty.io that implement ByteBufferPoolModifier and TypeClassDescriptionclassARetainableByteBufferpool where RetainableByteBuffers are held inPools that are held in array elements.static classA variant of theArrayByteBufferPoolthat uses buckets of buffers that increase in size by a power of 2 (e.g. 1k, 2k, 4k, 8k, etc.).static classA variant ofArrayByteBufferPoolthat tracks buffer acquires/releases, useful to identify buffer leaks.static classA variant of theArrayByteBufferPoolthat uses a predefined set of buckets of buffers.static classAByteBufferPoolthat does not pool itsRetainableByteBuffers.static classA ByteBufferPool with an additional no-argsByteBufferPool.Sized.acquire()method to obtain a buffer of a preconfigured specific size and type.static classA wrapper forByteBufferPoolinstances.Fields in org.eclipse.jetty.io declared as ByteBufferPoolMethods in org.eclipse.jetty.io that return ByteBufferPoolModifier and TypeMethodDescriptionClientConnector.getByteBufferPool()ByteBufferPool.Wrapper.getWrapped()Methods in org.eclipse.jetty.io with parameters of type ByteBufferPoolModifier and TypeMethodDescriptionstatic Content.SinkContent.Sink.asBuffered(Content.Sink sink, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) Wraps the given content sink with a buffering sink.Content.Source.asRetainableByteBuffer(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize) Deprecated, for removal: This API element is subject to removal in a future version.no replacementstatic voidContent.Source.asRetainableByteBuffer(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize, org.eclipse.jetty.util.Promise<RetainableByteBuffer> promise) Reads, non-blocking, the whole content source into aRetainableByteBuffer.ChunkAccumulator.readAll(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize) Deprecated, for removal: This API element is subject to removal in a future version.voidClientConnector.setByteBufferPool(ByteBufferPool byteBufferPool) ChunkAccumulator.take(ByteBufferPool pool, boolean direct) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.eclipse.jetty.io with parameters of type ByteBufferPoolModifierConstructorDescriptionByteBufferAccumulator(ByteBufferPool bufferPool, boolean direct) Deprecated, for removal: This API element is subject to removal in a future version.ByteBufferAggregator(ByteBufferPool bufferPool, boolean direct, int startSize, int maxSize) Deprecated, for removal: This API element is subject to removal in a future version.Creates a ByteBuffer aggregator.ByteBufferOutputStream2(ByteBufferPool bufferPool, boolean direct) Deprecated.DynamicCapacity(ByteBufferPool pool, boolean direct, long maxSize) DynamicCapacity(ByteBufferPool pool, boolean direct, long maxSize, int aggregationSize) DynamicCapacity(ByteBufferPool pool, boolean direct, long maxSize, int aggregationSize, int minRetainSize) Pooled(ByteBufferPool pool, ByteBuffer byteBuffer) protectedPooled(ByteBufferPool pool, ByteBuffer byteBuffer, Retainable retainable) Sized(ByteBufferPool wrapped) Create a sized pool for non direct buffers of a default size from a wrapped pool.Sized(ByteBufferPool wrapped, boolean direct, int size) Create a sized pool for a give directness and size from a wrapped pool.Wrapper(ByteBufferPool wrapped) -
Uses of ByteBufferPool in org.eclipse.jetty.io.content
Constructors in org.eclipse.jetty.io.content with parameters of type ByteBufferPoolModifierConstructorDescriptionBufferedContentSink(Content.Sink delegate, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) PathContentSource(Path path, ByteBufferPool byteBufferPool) -
Uses of ByteBufferPool in org.eclipse.jetty.io.ssl
Methods in org.eclipse.jetty.io.ssl that return ByteBufferPoolConstructors in org.eclipse.jetty.io.ssl with parameters of type ByteBufferPoolModifierConstructorDescriptionSslClientConnectionFactory(org.eclipse.jetty.util.ssl.SslContextFactory.Client sslContextFactory, ByteBufferPool byteBufferPool, Executor executor, ClientConnectionFactory connectionFactory) SslConnection(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, SSLEngine sslEngine) Deprecated.SslConnection(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, SSLEngine sslEngine, boolean useDirectBuffersForEncryption, boolean useDirectBuffersForDecryption) Deprecated.SslConnection(ByteBufferPool byteBufferPool, Executor executor, org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory, EndPoint endPoint, SSLEngine sslEngine) SslConnection(ByteBufferPool byteBufferPool, Executor executor, org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory, EndPoint endPoint, SSLEngine sslEngine, boolean useDirectBuffersForEncryption, boolean useDirectBuffersForDecryption)