Skip to content

Optimize storage for single-node CuratorCache #1304

Description

@HoustonPutman

Currently the CuratorCache will use a ConcurrentHashMap to store data even if only a single node is being cached (CuratorCache.Options.SINGLE_NODE_CACHE).

Instead we should optimize and use an AtomicReference instead in this case.

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