class BlockManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.BlockingDeque<byte[]> |
blockPool |
Constructor and Description |
---|
BlockManager(int blockPoolSize,
int blockSize) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlockFromPool() |
void |
releaseBlockToPool(byte[] block) |