Uses of Interface
org.xerial.snappy.pool.BufferPool
-
Packages that use BufferPool Package Description org.xerial.snappy Snappy API for compressing/decompressing data.org.xerial.snappy.pool -
-
Uses of BufferPool in org.xerial.snappy
Fields in org.xerial.snappy declared as BufferPool Modifier and Type Field Description private BufferPool
SnappyFramedInputStream. bufferPool
private BufferPool
SnappyFramedOutputStream. bufferPool
Constructors in org.xerial.snappy with parameters of type BufferPool Constructor Description SnappyFramedInputStream(java.io.InputStream in, boolean verifyChecksums, BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying input stream.SnappyFramedInputStream(java.io.InputStream in, BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying input stream.SnappyFramedInputStream(java.nio.channels.ReadableByteChannel in, boolean verifyChecksums, BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying channel.SnappyFramedInputStream(java.nio.channels.ReadableByteChannel in, BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying channel.SnappyFramedOutputStream(java.io.OutputStream out, int blockSize, double minCompressionRatio, BufferPool bufferPool)
Creates a newSnappyFramedOutputStream
instance.SnappyFramedOutputStream(java.io.OutputStream out, BufferPool bufferPool)
Creates a newSnappyFramedOutputStream
using theSnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
andSnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO
.SnappyFramedOutputStream(java.nio.channels.WritableByteChannel out, int blockSize, double minCompressionRatio, BufferPool bufferPool)
Creates a newSnappyFramedOutputStream
instance.SnappyFramedOutputStream(java.nio.channels.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 BufferPool Modifier and Type Class Description class
CachingBufferPool
ABufferPool
implementation which caches values at fixed sizes.class
QuiescentBufferPool
ABufferPool
implementation which does no pooling.Fields in org.xerial.snappy.pool declared as BufferPool Modifier and Type Field Description private static BufferPool
DefaultPoolFactory. defaultPool
Methods in org.xerial.snappy.pool that return BufferPool Modifier and Type Method Description static 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 BufferPool Modifier and Type Method Description static void
DefaultPoolFactory. setDefaultPool(BufferPool pool)
Sets the default instance to use.
-