Package | Description |
---|---|
com.ning.compress.lzf |
Package that contains public API of the LZF codec, as well as some
of the implementation (specifically parts that are designed to be overridable).
|
com.ning.compress.lzf.parallel |
Package that contains parallel implementation of LZF compressor: granularity
is at chunk-level, so that each processing thread operates on a single chunk
at a time (and conversely, no chunk is "split" across threads).
|
Modifier and Type | Field and Description |
---|---|
protected LZFChunk |
LZFChunk._next |
Modifier and Type | Method and Description |
---|---|
static LZFChunk |
LZFChunk.createCompressed(int origLen,
byte[] encData,
int encPtr,
int encLen)
Factory method for constructing compressed chunk
|
static LZFChunk |
LZFChunk.createNonCompressed(byte[] plainData,
int ptr,
int len)
Factory method for constructing compressed chunk
|
LZFChunk |
ChunkEncoder.encodeChunk(byte[] data,
int offset,
int len)
Method for compressing (or not) individual chunks
|
LZFChunk |
ChunkEncoder.encodeChunkIfCompresses(byte[] data,
int offset,
int inputLen,
double maxResultRatio)
Method for compressing individual chunk, if (and only if) it compresses down
to specified ratio or less.
|
LZFChunk |
LZFChunk.next() |
Modifier and Type | Method and Description |
---|---|
void |
LZFChunk.setNext(LZFChunk next) |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.Future<LZFChunk> |
WriteTask.lzfFuture |
Modifier and Type | Method and Description |
---|---|
LZFChunk |
CompressTask.call() |
Constructor and Description |
---|
WriteTask(java.io.OutputStream output,
java.util.concurrent.Future<LZFChunk> lzfFuture,
PLZFOutputStream caller) |