Uses of Class
tools.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 tools.jackson.core
Fields in tools.jackson.core with type parameters of type BufferRecyclerModifier and TypeFieldDescriptionprotected final RecyclerPool<BufferRecycler>TokenStreamFactory._recyclerPoolprotected RecyclerPool<BufferRecycler>TSFBuilder._recyclerPoolBuffer recycler provider to use.Methods in tools.jackson.core that return BufferRecyclerModifier and TypeMethodDescriptionTokenStreamFactory._getBufferRecycler()Method used by factory to create buffer recycler instances for parsers and generators.Methods in tools.jackson.core that return types with arguments of type BufferRecyclerModifier and TypeMethodDescriptionTokenStreamFactory._getRecyclerPool()Accessor for getting access toRecyclerPoolfor gettingBufferRecyclerinstance to use.TSFBuilder.recyclerPool()Method parameters in tools.jackson.core with type arguments of type BufferRecyclerConstructor parameters in tools.jackson.core with type arguments of type BufferRecyclerModifierConstructorDescriptionprotectedTSFBuilder(RecyclerPool<BufferRecycler> brp, StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, int factoryFeatures, int streamReadFeatures, int streamWriteFeatures, int formatReadFeatures, int formatWriteFeatures) -
Uses of BufferRecycler in tools.jackson.core.io
Fields in tools.jackson.core.io declared as BufferRecyclerModifier and TypeFieldDescriptionprotected final BufferRecyclerIOContext._bufferRecyclerRecycler used for actual allocation/deallocation/reuseMethods in tools.jackson.core.io that return BufferRecyclerModifier and TypeMethodDescriptionIOContext.bufferRecycler()SegmentedStringWriter.bufferRecycler()Constructors in tools.jackson.core.io with parameters of type BufferRecyclerModifierConstructorDescriptionIOContext(StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, BufferRecycler br, ContentReference contentRef, boolean managedResource, JsonEncoding enc) Main constructor to use. -
Uses of BufferRecycler in tools.jackson.core.util
Fields in tools.jackson.core.util with type parameters of type BufferRecyclerModifier and TypeFieldDescriptionprotected static final ThreadLocal<SoftReference<BufferRecycler>>JsonRecyclerPools.ThreadLocalPool._recyclerRefThisThreadLocalcontains aSoftReferenceto aBufferRecyclerused to provide a low-cost buffer recycling between reader and writer instances.Methods in tools.jackson.core.util that return BufferRecyclerModifier and TypeMethodDescriptionJsonRecyclerPools.NonRecyclingPool.acquirePooled()JsonRecyclerPools.ThreadLocalPool.acquirePooled()BufferRecycler.Gettable.bufferRecycler()ByteArrayBuilder.bufferRecycler()TextBuffer.bufferRecycler()JsonRecyclerPools.BoundedPool.createPooled()JsonRecyclerPools.ConcurrentDequePool.createPooled()BufferRecycler.withPool(RecyclerPool<BufferRecycler> pool) Method called by owner of this recycler instance, to provide reference toRecyclerPoolinto which instance is to be released (if any)Methods in tools.jackson.core.util that return types with arguments of type BufferRecyclerModifier and TypeMethodDescriptionstatic RecyclerPool<BufferRecycler>JsonRecyclerPools.defaultPool()Method to call to get the default recycler pool instance: as of Jackson 3.0 and later this is same as callingJsonRecyclerPools.newConcurrentDequePool().static RecyclerPool<BufferRecycler>JsonRecyclerPools.newBoundedPool(int size) Accessor for constructing a new, non-sharedJsonRecyclerPools.BoundedPoolinstance.static RecyclerPool<BufferRecycler>JsonRecyclerPools.newConcurrentDequePool()Accessor for constructing a new, non-sharedJsonRecyclerPools.ConcurrentDequePoolinstance.static RecyclerPool<BufferRecycler>JsonRecyclerPools.nonRecyclingPool()Accessor for getting the shared/globalJsonRecyclerPools.NonRecyclingPoolinstance (due to design only one instance ever needed)static RecyclerPool<BufferRecycler>JsonRecyclerPools.sharedBoundedPool()Accessor for getting the shared/globalJsonRecyclerPools.BoundedPoolinstance.static RecyclerPool<BufferRecycler>JsonRecyclerPools.sharedConcurrentDequePool()Accessor for getting the shared/globalJsonRecyclerPools.ConcurrentDequePoolinstance.static RecyclerPool<BufferRecycler>JsonRecyclerPools.threadLocalPool()Accessor for getting the shared/globalJsonRecyclerPools.ThreadLocalPoolinstance (due to design only one instance ever needed)Method parameters in tools.jackson.core.util with type arguments of type BufferRecyclerModifier and TypeMethodDescriptionBufferRecycler.withPool(RecyclerPool<BufferRecycler> pool) Method called by owner of this recycler instance, to provide reference toRecyclerPoolinto which instance is to be released (if any)Constructors in tools.jackson.core.util with parameters of type BufferRecyclerModifierConstructorDescriptionByteArrayBuilder(BufferRecycler br, int firstBlockSize) ReadConstrainedTextBuffer(StreamReadConstraints streamReadConstraints, BufferRecycler bufferRecycler) TextBuffer(BufferRecycler allocator) protectedTextBuffer(BufferRecycler allocator, char[] initialSegment)