Uses of Class
com.ning.compress.lzf.ChunkDecoder
-
Packages that use ChunkDecoder Package Description com.ning.compress.lzf Package that contains public API of the LZF codec, as well as some of the implementation (specifically parts that are designed to be overridable).com.ning.compress.lzf.impl Package that contains implementation classes that are not part of public interface of LZF codec.com.ning.compress.lzf.util Package that contains helper classes uses by LZF codec. -
-
Uses of ChunkDecoder in com.ning.compress.lzf
Fields in com.ning.compress.lzf declared as ChunkDecoder Modifier and Type Field Description protected ChunkDecoder
LZFInputStream. _decoder
Underlying decoder in use.protected ChunkDecoder
LZFUncompressor. _decoder
Underlying decompressor we use for chunk decompression.Fields in com.ning.compress.lzf with type parameters of type ChunkDecoder Modifier and Type Field Description protected static java.util.concurrent.atomic.AtomicReference<ChunkDecoder>
LZFDecoder. _fastDecoderRef
Lazily initialized "fast" instance that may usesun.misc.Unsafe
to speed up decompressionprotected static java.util.concurrent.atomic.AtomicReference<ChunkDecoder>
LZFDecoder. _safeDecoderRef
Lazily initialized "safe" instance that DOES NOT usesun.misc.Unsafe
for decompression, just standard JDK functionality.Methods in com.ning.compress.lzf that return ChunkDecoder Modifier and Type Method Description static ChunkDecoder
LZFDecoder. fastDecoder()
Accessor method that can be used to obtainChunkDecoder
that uses all possible optimization methods available, includingsun.misc.Unsafe
for memory access.static ChunkDecoder
LZFDecoder. safeDecoder()
Accessor method that can be used to obtainChunkDecoder
that only uses standard JDK access methods, and should work on all Java platforms and JVMs.Constructors in com.ning.compress.lzf with parameters of type ChunkDecoder Constructor Description LZFInputStream(ChunkDecoder decoder, java.io.InputStream in)
LZFInputStream(ChunkDecoder decoder, java.io.InputStream in, boolean fullReads)
LZFInputStream(ChunkDecoder decoder, java.io.InputStream in, BufferRecycler bufferRecycler, boolean fullReads)
LZFUncompressor(DataHandler handler, ChunkDecoder dec)
LZFUncompressor(DataHandler handler, ChunkDecoder dec, BufferRecycler bufferRecycler)
-
Uses of ChunkDecoder in com.ning.compress.lzf.impl
Subclasses of ChunkDecoder in com.ning.compress.lzf.impl Modifier and Type Class Description class
UnsafeChunkDecoder
Highly optimizedChunkDecoder
implementation that uses Sun JDK's Unsafe class (which may be included by other JDK's as well; IBM's apparently does).class
VanillaChunkDecoder
SafeChunkDecoder
implementation that can be used on any platform. -
Uses of ChunkDecoder in com.ning.compress.lzf.util
Fields in com.ning.compress.lzf.util declared as ChunkDecoder Modifier and Type Field Description protected ChunkDecoder
LZFFileInputStream. _decompressor
Underlying decoder in use.Fields in com.ning.compress.lzf.util with type parameters of type ChunkDecoder Modifier and Type Field Description private java.lang.Class<? extends ChunkDecoder>
ChunkDecoderFactory. _implClass
Methods in com.ning.compress.lzf.util that return ChunkDecoder Modifier and Type Method Description static ChunkDecoder
ChunkDecoderFactory. optimalInstance()
Method to use for getting decoder instance that uses the most optimal available methods for underlying data access.static ChunkDecoder
ChunkDecoderFactory. safeInstance()
Method that can be used to ensure that a "safe" decoder instance is loaded.Constructors in com.ning.compress.lzf.util with parameters of type ChunkDecoder Constructor Description LZFFileInputStream(java.io.FileDescriptor fdObj, ChunkDecoder decompressor)
LZFFileInputStream(java.io.FileDescriptor fdObj, ChunkDecoder decompressor, BufferRecycler bufferRecycler)
LZFFileInputStream(java.io.File file, ChunkDecoder decompressor)
LZFFileInputStream(java.io.File file, ChunkDecoder decompressor, BufferRecycler bufferRecycler)
LZFFileInputStream(java.lang.String name, ChunkDecoder decompressor)
LZFFileInputStream(java.lang.String name, ChunkDecoder decompressor, BufferRecycler bufferRecycler)
-