public class VSizeCompressedObjectStrategy extends CompressedObjectStrategy<ByteBuffer>
CompressedObjectStrategy.BufferConverter<T>, CompressedObjectStrategy.CompressionStrategy, CompressedObjectStrategy.Compressor, CompressedObjectStrategy.Decompressor, CompressedObjectStrategy.LZ4Compressor, CompressedObjectStrategy.LZ4Decompressor, CompressedObjectStrategy.LZFCompressor, CompressedObjectStrategy.LZFDecompressor, CompressedObjectStrategy.UncompressedCompressor, CompressedObjectStrategy.UncompressedDecompressor
converter, decompressor, DEFAULT_COMPRESSION_STRATEGY, order
Modifier | Constructor and Description |
---|---|
protected |
VSizeCompressedObjectStrategy(ByteOrder order,
CompressedObjectStrategy.CompressionStrategy compression,
int expectedBytes) |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
bufferFor(ByteBuffer val) |
protected void |
decompress(ByteBuffer buffer,
int numBytes,
ByteBuffer buf) |
static VSizeCompressedObjectStrategy |
getBufferForOrder(ByteOrder order,
CompressedObjectStrategy.CompressionStrategy compression,
int expectedBytes) |
compare, fromByteBuffer, getClazz, toBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected VSizeCompressedObjectStrategy(ByteOrder order, CompressedObjectStrategy.CompressionStrategy compression, int expectedBytes)
public static VSizeCompressedObjectStrategy getBufferForOrder(ByteOrder order, CompressedObjectStrategy.CompressionStrategy compression, int expectedBytes)
protected ByteBuffer bufferFor(ByteBuffer val)
bufferFor
in class CompressedObjectStrategy<ByteBuffer>
protected void decompress(ByteBuffer buffer, int numBytes, ByteBuffer buf)
decompress
in class CompressedObjectStrategy<ByteBuffer>
Copyright © 2011–2017. All rights reserved.