Uses of Interface
tools.jackson.core.util.RecyclerPool
Packages that use RecyclerPool
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 RecyclerPool in tools.jackson.core
Fields in tools.jackson.core declared as RecyclerPoolModifier and TypeFieldDescriptionprotected final RecyclerPool<BufferRecycler>TokenStreamFactory._recyclerPoolprotected RecyclerPool<BufferRecycler>TSFBuilder._recyclerPoolBuffer recycler provider to use.Methods in tools.jackson.core that return RecyclerPoolModifier and TypeMethodDescriptionTokenStreamFactory._getRecyclerPool()Accessor for getting access toRecyclerPoolfor gettingBufferRecyclerinstance to use.TSFBuilder.recyclerPool()Methods in tools.jackson.core with parameters of type RecyclerPoolConstructors in tools.jackson.core with parameters of type RecyclerPoolModifierConstructorDescriptionprotectedTSFBuilder(RecyclerPool<BufferRecycler> brp, StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, int factoryFeatures, int streamReadFeatures, int streamWriteFeatures, int formatReadFeatures, int formatWriteFeatures) -
Uses of RecyclerPool in tools.jackson.core.util
Classes in tools.jackson.core.util that implement RecyclerPoolModifier and TypeClassDescriptionstatic classRecyclerPoolimplementation that uses a bounded queue (ArrayBlockingQueuefor recycling instances.static classRecyclerPoolimplementation that usesConcurrentLinkedDequefor recycling instances.static classDummyRecyclerPoolimplementation that does not recycle anything but simply creates new instances when asked to acquire items.static classThreadLocal-basedRecyclerPoolimplementation used for recyclingBufferRecyclerinstances: seeRecyclerPool.ThreadLocalPoolBasefor full explanation of functioning.static classRecyclerPool.BoundedPoolBase<P extends RecyclerPool.WithPool<P>>RecyclerPoolimplementation that uses a bounded queue (ArrayBlockingQueuefor recycling instances.static classRecyclerPool.ConcurrentDequePoolBase<P extends RecyclerPool.WithPool<P>>RecyclerPoolimplementation that usesConcurrentLinkedDequefor recycling instances.static classRecyclerPool.NonRecyclingPoolBase<P extends RecyclerPool.WithPool<P>>RecyclerPoolimplementation that does not use any pool but simply creates new instances when necessary.static classRecyclerPool.StatefulImplBase<P extends RecyclerPool.WithPool<P>>Intermediate base class for instances that are stateful and require special handling with respect to JDK serialization, to retain "global" reference distinct from non-shared ones.static classRecyclerPool.ThreadLocalPoolBase<P extends RecyclerPool.WithPool<P>>DefaultRecyclerPoolimplementation that usesThreadLocalfor recycling instances.Methods in tools.jackson.core.util that return RecyclerPoolModifier 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)Methods in tools.jackson.core.util with parameters of type RecyclerPoolModifier 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)RecyclerPool.WithPool.withPool(RecyclerPool<P> pool) Method to call to add link from pooled item back to pool that handles it