public final class ApacheCodecRecycler extends Object implements com.fasterxml.jackson.core.util.RecyclerPool.WithPool<ApacheCodecRecycler>
| Modifier and Type | Method and Description |
|---|---|
org.apache.avro.io.BinaryDecoder |
acquireDecoder() |
org.apache.avro.io.BinaryEncoder |
acquireEncoder() |
void |
release(org.apache.avro.io.BinaryDecoder dec) |
void |
release(org.apache.avro.io.BinaryEncoder enc) |
void |
releaseToPool()
Method called when owner of this recycler no longer wishes use it; this should
return it to pool passed via
withPool() (if any). |
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) |
public org.apache.avro.io.BinaryDecoder acquireDecoder()
public org.apache.avro.io.BinaryEncoder acquireEncoder()
public void release(org.apache.avro.io.BinaryDecoder dec)
public void release(org.apache.avro.io.BinaryEncoder enc)
public ApacheCodecRecycler withPool(com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler> pool)
RecyclerPool into which instance is to be released (if any)withPool in interface com.fasterxml.jackson.core.util.RecyclerPool.WithPool<ApacheCodecRecycler>public void releaseToPool()
withPool() (if any).releaseToPool in interface com.fasterxml.jackson.core.util.RecyclerPool.WithPool<ApacheCodecRecycler>Copyright © 2024 FasterXML. All rights reserved.