Uses of Class
com.fasterxml.jackson.core.util.BufferRecycler
Packages that use BufferRecycler
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser
)
and generator
(JsonGenerator
)
instances.Utility classes used by Jackson Core functionality.
-
Uses of BufferRecycler in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return BufferRecyclerModifier and TypeMethodDescriptionJsonFactory._getBufferRecycler()
Method used by factory to create buffer recycler instances for parsers and generators. -
Uses of BufferRecycler in com.fasterxml.jackson.core.io
Fields in com.fasterxml.jackson.core.io declared as BufferRecyclerModifier and TypeFieldDescriptionprotected final BufferRecycler
IOContext._bufferRecycler
Recycler used for actual allocation/deallocation/reuseConstructors in com.fasterxml.jackson.core.io with parameters of type BufferRecyclerModifierConstructorDescriptionIOContext
(StreamReadConstraints src, BufferRecycler br, ContentReference contentRef, boolean managedResource) Main constructor to use.IOContext
(BufferRecycler br, ContentReference contentRef, boolean managedResource) Deprecated.IOContext
(BufferRecycler br, Object rawContent, boolean managedResource) Deprecated. -
Uses of BufferRecycler in com.fasterxml.jackson.core.util
Fields in com.fasterxml.jackson.core.util with type parameters of type BufferRecyclerModifier and TypeFieldDescriptionprotected static final ThreadLocal<SoftReference<BufferRecycler>>
BufferRecyclers._recyclerRef
ThisThreadLocal
contains aSoftReference
to aBufferRecycler
used to provide a low-cost buffer recycling between reader and writer instances.Methods in com.fasterxml.jackson.core.util that return BufferRecyclerModifier and TypeMethodDescriptionstatic BufferRecycler
BufferRecyclers.getBufferRecycler()
Main accessor to call for accessing possibly recycledBufferRecycler
instance.Constructors in com.fasterxml.jackson.core.util with parameters of type BufferRecyclerModifierConstructorDescriptionByteArrayBuilder
(BufferRecycler br, int firstBlockSize) ReadConstrainedTextBuffer
(StreamReadConstraints streamReadConstraints, BufferRecycler bufferRecycler) TextBuffer
(BufferRecycler allocator) protected
TextBuffer
(BufferRecycler allocator, char[] initialSegment)