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

pack-priv Class BlockManager

extends Object
Class Inheritance
Imports
java.util.concurrent.BlockingDeque, .LinkedBlockingDeque

Author
Cédrik LIME

Field Summary

Modifier and TypeField and Description
private final BlockingDeque<byte[]>

Constructor Summary

AccessConstructor and Description
public
BlockManager(int blockPoolSize, int blockSize)

Method Summary

Modifier and TypeMethod and Description
public byte[]
public void
releaseBlockToPool(byte[] block)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

blockPoolback to summary
private final BlockingDeque<byte[]> blockPool

Constructor Detail

BlockManagerback to summary
public BlockManager(int blockPoolSize, int blockSize)

Method Detail

getBlockFromPoolback to summary
public byte[] getBlockFromPool()
releaseBlockToPoolback to summary
public void releaseBlockToPool(byte[] block)