Uses of Interface
org.apache.hadoop.io.ByteBufferPool
Packages that use ByteBufferPool
Package
Description
Crypto related classes.
An abstract file system API.
This package contains implementation classes for use inside
filesystems.
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
-
Uses of ByteBufferPool in org.apache.hadoop.crypto
Methods in org.apache.hadoop.crypto with parameters of type ByteBufferPoolModifier and TypeMethodDescriptionCryptoInputStream.read(ByteBufferPool bufferPool, int maxLength, EnumSet<ReadOption> opts) -
Uses of ByteBufferPool in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs with parameters of type ByteBufferPoolModifier and TypeMethodDescriptionstatic ByteBufferByteBufferUtil.fallbackRead(InputStream stream, ByteBufferPool bufferPool, int maxLength) Perform a fallback read.final ByteBufferFSDataInputStream.read(ByteBufferPool bufferPool, int maxLength) FSDataInputStream.read(ByteBufferPool bufferPool, int maxLength, EnumSet<ReadOption> opts) HasEnhancedByteBufferAccess.read(ByteBufferPool factory, int maxLength, EnumSet<ReadOption> opts) Get a ByteBuffer containing file data. -
Uses of ByteBufferPool in org.apache.hadoop.fs.impl
Classes in org.apache.hadoop.fs.impl that implement ByteBufferPoolModifier and TypeClassDescriptionfinal classA wrapperByteBufferPoolimplementation that tracks whether all allocated buffers are released.final classA ByteBufferPool implementation that uses a pair of functions to allocate and release ByteBuffers; intended for use implementing the VectorIO API as it makes the pair of functions easier to pass around and use in existing code.Methods in org.apache.hadoop.fs.impl with parameters of type ByteBufferPoolModifier and TypeMethodDescriptionstatic TrackingByteBufferPoolTrackingByteBufferPool.wrap(ByteBufferPool allocator) Wrap an existing allocator with this tracking allocator. -
Uses of ByteBufferPool in org.apache.hadoop.io
Classes in org.apache.hadoop.io that implement ByteBufferPoolModifier and TypeClassDescriptionclassThis is a simple ByteBufferPool which just creates ByteBuffers as needed.final classBuffer pool implementation which uses weak references to store buffers in the pool, such that they are garbage collected when there are no references to the buffer during a gc run.