Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill in missing methods in ManagedMap #24

Open
ryanrdoherty opened this issue Mar 25, 2023 · 0 comments
Open

Fill in missing methods in ManagedMap #24

ryanrdoherty opened this issue Mar 25, 2023 · 0 comments

Comments

@ryanrdoherty
Copy link
Member

ManagedMap is a convenience java.util.Map interface over the InMemoryCache implementation. We're now using it in the EDA data service in some plugins. Because we would like to be able to completely clear those caches, we need the void clear() method to be implemented. Since it's easy, filling in boolean hasKey(key) with return get(key) != null would be nice. If other methods are easy to fill in, maybe do those too for a more complete Map implementation, but definitely those two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant