Class GZIPRecycler
java.lang.Object
com.ning.compress.gzip.GZIPRecycler
GZIP-codec-specific "extension" to
BufferRecycler,
used for recycling expensive objects.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Deflaterprotected Inflaterprotected static final ThreadLocal<SoftReference<GZIPRecycler>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GZIPRecyclerinstance()Accessor to get thread-local recycler instancevoidvoid
-
Field Details
-
_recyclerRef
-
_inflater
-
_deflater
-
-
Constructor Details
-
GZIPRecycler
public GZIPRecycler()
-
-
Method Details
-
instance
Accessor to get thread-local recycler instance -
allocDeflater
-
releaseDeflater
-
allocInflater
-
releaseInflater
-