|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.store.compress.LzfCompressionStrategy
public class LzfCompressionStrategy
Implementation of CompressionStrategy for the LZF format. LZF is optimized for speed.
Constructor Summary | |
---|---|
LzfCompressionStrategy()
|
Method Summary | |
---|---|
byte[] |
deflate(byte[] data)
Compresses the data. |
java.lang.String |
getType()
The type of compression performed. |
byte[] |
inflate(byte[] data)
Uncompresses the data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LzfCompressionStrategy()
Method Detail |
---|
public java.lang.String getType()
CompressionStrategy
getType
in interface CompressionStrategy
public byte[] deflate(byte[] data) throws java.io.IOException
CompressionStrategy
deflate
in interface CompressionStrategy
data
- uncompressed data.
java.io.IOException
- if there is an issue during the operation.public byte[] inflate(byte[] data) throws java.io.IOException
CompressionStrategy
inflate
in interface CompressionStrategy
data
- compressed data.
java.io.IOException
- if there is an issue during the operation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |