Top Fields Constructors Methods
com.ning.compress.lzf.parallel

pack-priv Class CompressTask

extends Object
implements Callable<LZFChunk>
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Callable
Imports
java.util.concurrent.Callable, com.ning.compress.lzf.ChunkEncoder, .LZFChunk, com.ning.compress.lzf.util.ChunkEncoderFactory

Author
Cédrik LIME

Field Summary

Modifier and TypeField and Description
protected BlockManager
protected byte[]
private static final ThreadLocal<ChunkEncoder>
protected int
protected int

Constructor Summary

AccessConstructor and Description
public
CompressTask(byte[] input, int offset, int length, BlockManager blockManager)

public
CompressTask(byte[] input, BlockManager blockManager)

Method Summary

Modifier and TypeMethod and Description
public LZFChunk
call()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

blockManagerback to summary
protected BlockManager blockManager
databack to summary
protected byte[] data
ENCODERback to summary
private static final ThreadLocal<ChunkEncoder> ENCODER
lengthback to summary
protected int length
offsetback to summary
protected int offset

Constructor Detail

CompressTaskback to summary
public CompressTask(byte[] input, int offset, int length, BlockManager blockManager)
CompressTaskback to summary
public CompressTask(byte[] input, BlockManager blockManager)

Method Detail

callback to summary
public LZFChunk call()

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:LZFChunk

computed result

Annotations
@Override