Skip to content

Is CaffeineCache.clear threadSafe? #590

@geekthread

Description

@geekthread

Hi Experts,

In our present code base we have taken an external lock before calling the clear method on CaffeineCache. We wanted to understand if an external lock is really required.

Would there be any downsides/impacts of removing the external lock.

@ben-manes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions