public class IOStreamCompressionFilter extends Object implements IOStreamFilter
| Modifier and Type | Class and Description |
|---|---|
static class |
IOStreamCompressionFilter.Algo |
| Constructor and Description |
|---|
IOStreamCompressionFilter(IOStreamCompressionFilter.Algo algo) |
| Modifier and Type | Method and Description |
|---|---|
void |
setCompressionLevel(int compressionLevel) |
byte[] |
unrwap(ByteBuffer buf) |
byte[] |
wrap(ByteBuffer buf) |
public IOStreamCompressionFilter(IOStreamCompressionFilter.Algo algo)
public void setCompressionLevel(int compressionLevel)
compressionLevel - compresson level should be a number in (0-9)public byte[] unrwap(ByteBuffer buf) throws DataFormatException
unrwap in interface IOStreamFilterDataFormatExceptionpublic byte[] wrap(ByteBuffer buf) throws Exception
wrap in interface IOStreamFilterExceptionCopyright © GigaSpaces.