| Package | Description |
|---|---|
| com.fasterxml.jackson.dataformat.avro | |
| com.fasterxml.jackson.dataformat.avro.apacheimpl |
Package that contains codec implementations (and support pieces)
that build on Apache avro library.
|
| Modifier and Type | Field and Description |
|---|---|
protected ApacheCodecRecycler |
AvroGenerator._apacheCodecRecycler |
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroFactory._avroRecyclerPool |
| Constructor and Description |
|---|
AvroGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
int jsonFeatures,
int avroFeatures,
ApacheCodecRecycler apacheCodecRecycler,
com.fasterxml.jackson.core.ObjectCodec codec,
OutputStream output) |
| Modifier and Type | Field and Description |
|---|---|
protected ApacheCodecRecycler |
ApacheAvroParserImpl._apacheCodecRecycler |
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<SoftReference<ApacheCodecRecycler>> |
AvroRecyclerPools.ThreadLocalPool._recycler |
| Modifier and Type | Method and Description |
|---|---|
ApacheCodecRecycler |
AvroRecyclerPools.ThreadLocalPool.acquirePooled() |
ApacheCodecRecycler |
AvroRecyclerPools.NonRecyclingPool.acquirePooled() |
ApacheCodecRecycler |
AvroRecyclerPools.ConcurrentDequePool.createPooled() |
ApacheCodecRecycler |
AvroRecyclerPools.LockFreePool.createPooled() |
ApacheCodecRecycler |
AvroRecyclerPools.BoundedPool.createPooled() |
ApacheCodecRecycler |
ApacheCodecRecycler.withPool(com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> pool)
Method called by owner of this recycler instance, to provide reference to
RecyclerPool into which instance is to be released (if any) |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.defaultPool() |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.newBoundedPool(int size)
Accessor for constructing a new, non-shared
AvroRecyclerPools.BoundedPool instance. |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.newConcurrentDequePool()
Accessor for constructing a new, non-shared
AvroRecyclerPools.ConcurrentDequePool instance. |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.newLockFreePool()
Accessor for constructing a new, non-shared
AvroRecyclerPools.LockFreePool instance. |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.nonRecyclingPool()
Accessor for getting the shared/global
AvroRecyclerPools.NonRecyclingPool instance
(due to design only one instance ever needed) |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.sharedBoundedPool()
Accessor for getting the shared/global
AvroRecyclerPools.BoundedPool instance. |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.sharedConcurrentDequePool()
Accessor for getting the shared/global
AvroRecyclerPools.ConcurrentDequePool instance. |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.sharedLockFreePool()
Accessor for getting the shared/global
AvroRecyclerPools.LockFreePool instance. |
static com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> |
AvroRecyclerPools.threadLocalPool()
Accessor for getting the shared/global
AvroRecyclerPools.ThreadLocalPool instance
(due to design only one instance ever needed) |
| Modifier and Type | Method and Description |
|---|---|
ApacheCodecRecycler |
ApacheCodecRecycler.withPool(com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> pool)
Method called by owner of this recycler instance, to provide reference to
RecyclerPool into which instance is to be released (if any) |
| Constructor and Description |
|---|
ApacheAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt,
int parserFeatures,
int avroFeatures,
ApacheCodecRecycler apacheCodecRecycler,
com.fasterxml.jackson.core.ObjectCodec codec,
byte[] buffer,
int offset,
int len) |
ApacheAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt,
int parserFeatures,
int avroFeatures,
ApacheCodecRecycler apacheCodecRecycler,
com.fasterxml.jackson.core.ObjectCodec codec,
InputStream in) |
Copyright © 2024 FasterXML. All rights reserved.