| Modifier and Type | Field and Description |
|---|---|
| private RecyclerPool | |
| private final AtomicReference | |
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BinaryDecoder | |
| public BinaryEncoder | |
| public void | |
| public void | |
| public void | releaseToPool()
Implements com. Method called when owner of this recycler no longer wishes use it; this should
return it to pool passed via |
| public ApacheCodecRecycler | withPool(RecyclerPool<ApacheCodecRecycler>
Pool that "owns" pooled item pool)Implements com. Method called by owner of this recycler instance, to provide reference to
|
| _pool | back to summary |
|---|---|
| private RecyclerPool<ApacheCodecRecycler> _pool | |
| decoderRef | back to summary |
|---|---|
| private final AtomicReference<BinaryDecoder> decoderRef | |
| encoderRef | back to summary |
|---|---|
| private final AtomicReference<BinaryEncoder> encoderRef | |
| ApacheCodecRecycler | back to summary |
|---|---|
| pack-priv ApacheCodecRecycler() | |
| acquireDecoder | back to summary |
|---|---|
| public BinaryDecoder acquireDecoder() | |
| acquireEncoder | back to summary |
|---|---|
| public BinaryEncoder acquireEncoder() | |
| release | back to summary |
|---|---|
| public void release(BinaryDecoder dec) | |
| release | back to summary |
|---|---|
| public void release(BinaryEncoder enc) | |
| releaseToPool | back to summary |
|---|---|
| public void releaseToPool() Implements com. Method called when owner of this recycler no longer wishes use it; this should
return it to pool passed via
| |
| withPool | back to summary |
|---|---|
| public ApacheCodecRecycler withPool(RecyclerPool<ApacheCodecRecycler> pool) Implements com. Method called by owner of this recycler instance, to provide reference to
| |