|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elasticsearch.common.compress.lzf.util.ChunkDecoderFactory
public class ChunkDecoderFactory
Simple helper class used for loading
ChunkDecoder implementations, based on criteria
such as "fastest available".
Yes, it looks butt-ugly, but does the job. Nonetheless, if anyone has lipstick for this pig, let me know.
| Method Summary | |
|---|---|
static ChunkDecoder |
optimalInstance()
Method to use for getting decompressor instance that uses the most optimal available methods for underlying data access. |
static ChunkDecoder |
safeInstance()
Method that can be used to ensure that a "safe" decompressor instance is loaded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ChunkDecoder optimalInstance()
safeInstance().
public static ChunkDecoder safeInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||