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

IMap should expose setAsync #6726

LoneRifle opened this issue Nov 12, 2015 · 0 comments


None yet
2 participants
Copy link

commented Nov 12, 2015

Users of IMap.set do not have a corresponding async method, unlike put and putAsync. putAsync is not entirely suitable as an async set, since put returns the previous value mapped to the key, and triggers EntryListeners, which may not be desirable.

It is hence proposed that IMap exposes a dedicated setAsync, to fulfill the contract for set and have the means to do so asynchronously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.