Uses of Class com.fasterxml.jackson.core.util.BufferRecycler (Jackson-core 2.12.0 API)
Date: 2021-01-08

## Uses of Class
com.fasterxml.jackson.core.util.BufferRecycler

- Packages that use BufferRecycler
  Package | Description
  --- | ---
  com.fasterxml.jackson.core | Main public API classes of the core streaming JSON processor: most importantly `JsonFactory` used for constructing JSON parser (`JsonParser`) and generator (`JsonGenerator`) instances.
  com.fasterxml.jackson.core.io |
  com.fasterxml.jackson.core.util | Utility classes used by Jackson Core functionality.

- - ### Uses of BufferRecycler in com.fasterxml.jackson.core

    Methods in com.fasterxml.jackson.core that return BufferRecycler
    Modifier and Type | Method and Description
    --- | ---
    `BufferRecycler` | JsonFactory.`_getBufferRecycler()` Method used by factory to create buffer recycler instances for parsers and generators.

  - ### Uses of BufferRecycler in com.fasterxml.jackson.core.io

    Fields in com.fasterxml.jackson.core.io declared as BufferRecycler
    Modifier and Type | Field and Description
    --- | ---
    `protected BufferRecycler` | IOContext.`_bufferRecycler` Recycler used for actual allocation/deallocation/reuse

    Constructors in com.fasterxml.jackson.core.io with parameters of type BufferRecycler
    Constructor and Description
    `IOContext(BufferRecycler br, Object sourceRef, boolean managedResource)`
    `SegmentedStringWriter(BufferRecycler br)`

  - ### Uses of BufferRecycler in com.fasterxml.jackson.core.util

    Fields in com.fasterxml.jackson.core.util with type parameters of type BufferRecycler
    Modifier and Type | Field and Description
    --- | ---
    `protected static ThreadLocal<SoftReference<BufferRecycler>>` | BufferRecyclers.`_recyclerRef` This `ThreadLocal` contains a `SoftReference` to a `BufferRecycler` used to provide a low-cost buffer recycling between reader and writer instances.

    Methods in com.fasterxml.jackson.core.util that return BufferRecycler
    Modifier and Type | Method and Description
    --- | ---
    `static BufferRecycler` | BufferRecyclers.`getBufferRecycler()` Main accessor to call for accessing possibly recycled `BufferRecycler` instance.

    Constructors in com.fasterxml.jackson.core.util with parameters of type BufferRecycler
    Constructor and Description
    `ByteArrayBuilder(BufferRecycler br)`
    `ByteArrayBuilder(BufferRecycler br, int firstBlockSize)`
    `TextBuffer(BufferRecycler allocator)`
    `TextBuffer(BufferRecycler allocator, char[] initialSegment)`

Copyright © 2008–2021 FasterXML. All rights reserved.