Skip to content

Add RecyclerPool.clear() method for dropping all pooled Objects #1202

Description

@cowtowncoder

(note: related to #1117 )

There should be mechanism through which one can clear recycled buffer instances (for pools that do actual recycling (no op for non-recycling fake instances; and are able to clear instances (not applicable to ThreadLocal based pool).
This may be necessary since many implementations are unbounded (theoretically).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions