Uses of Interface
org.xerial.snappy.pool.BufferPool
Packages that use BufferPool
Package
Description
Snappy API for compressing/decompressing data.
-
Uses of BufferPool in org.xerial.snappy
Fields in org.xerial.snappy declared as BufferPoolModifier and TypeFieldDescriptionprivate final BufferPool
SnappyFramedInputStream.bufferPool
private final BufferPool
SnappyFramedOutputStream.bufferPool
Constructors in org.xerial.snappy with parameters of type BufferPoolModifierConstructorDescriptionSnappyFramedInputStream
(InputStream in, boolean verifyChecksums, BufferPool bufferPool) Creates a Snappy input stream to read data from the specified underlying input stream.SnappyFramedInputStream
(InputStream in, BufferPool bufferPool) Creates a Snappy input stream to read data from the specified underlying input stream.SnappyFramedInputStream
(ReadableByteChannel in, boolean verifyChecksums, BufferPool bufferPool) Creates a Snappy input stream to read data from the specified underlying channel.SnappyFramedInputStream
(ReadableByteChannel in, BufferPool bufferPool) Creates a Snappy input stream to read data from the specified underlying channel.SnappyFramedOutputStream
(OutputStream out, int blockSize, double minCompressionRatio, BufferPool bufferPool) Creates a newSnappyFramedOutputStream
instance.SnappyFramedOutputStream
(OutputStream out, BufferPool bufferPool) Creates a newSnappyFramedOutputStream
using theSnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
andSnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO
.SnappyFramedOutputStream
(WritableByteChannel out, int blockSize, double minCompressionRatio, BufferPool bufferPool) Creates a newSnappyFramedOutputStream
instance.SnappyFramedOutputStream
(WritableByteChannel out, BufferPool bufferPool) Creates a newSnappyFramedOutputStream
using theSnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
andSnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO
. -
Uses of BufferPool in org.xerial.snappy.pool
Classes in org.xerial.snappy.pool that implement BufferPoolModifier and TypeClassDescriptionfinal class
ABufferPool
implementation which caches values at fixed sizes.final class
ABufferPool
implementation which does no pooling.Fields in org.xerial.snappy.pool declared as BufferPoolMethods in org.xerial.snappy.pool that return BufferPoolModifier and TypeMethodDescriptionstatic BufferPool
DefaultPoolFactory.getDefaultPool()
static BufferPool
CachingBufferPool.getInstance()
Returns instance ofCachingBufferPool
for using cached buffers.static BufferPool
QuiescentBufferPool.getInstance()
Methods in org.xerial.snappy.pool with parameters of type BufferPoolModifier and TypeMethodDescriptionstatic void
DefaultPoolFactory.setDefaultPool
(BufferPool pool) Sets the default instance to use.