| Package | Description |
|---|---|
| com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RecyclerPool<P extends RecyclerPool.WithPool<P>>
API for object pools that control creation and possible reuse of
objects that are costly to create (often things like encoding/decoding buffers).
|
static class |
RecyclerPool.BoundedPoolBase<P extends RecyclerPool.WithPool<P>>
RecyclerPool implementation that uses
a bounded queue (ArrayBlockingQueue for recycling instances. |
static class |
RecyclerPool.ConcurrentDequePoolBase<P extends RecyclerPool.WithPool<P>>
RecyclerPool implementation that uses
ConcurrentLinkedDeque for recycling instances. |
static class |
RecyclerPool.LockFreePoolBase<P extends RecyclerPool.WithPool<P>>
RecyclerPool implementation that uses
a lock free linked list for recycling instances. |
static class |
RecyclerPool.NonRecyclingPoolBase<P extends RecyclerPool.WithPool<P>>
RecyclerPool implementation that does not use
any pool but simply creates new instances when necessary. |
static class |
RecyclerPool.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 class |
RecyclerPool.ThreadLocalPoolBase<P extends RecyclerPool.WithPool<P>>
Default
RecyclerPool implementation that uses
ThreadLocal for recycling instances. |
static interface |
RecyclerPool.WithPool<P extends RecyclerPool.WithPool<P>>
Simple add-on interface that poolable entities must implement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BufferRecycler
This is a small utility class, whose main functionality is to allow
simple reuse of raw byte/char buffers.
|
Copyright © 2008–2023 FasterXML. All rights reserved.