-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Access ICache's via separate ICacheManager available from HazelcastInstance #8434
Access ICache's via separate ICacheManager available from HazelcastInstance #8434
Conversation
Test PASSed. |
1 similar comment
Test PASSed. |
* Hazelcast's {@link javax.cache.spi.CachingProvider#getDefaultClassLoader()}) | ||
* @return the name of the {@link ICache} distributed object corresponding to given arguments. | ||
*/ | ||
public static String getDistributedObjectName(String cacheName, URI uri, ClassLoader classLoader) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comment: Since generally URI
and ClassLoader
parameters are null
, it might be good if we support also String getDistributedObjectName(String cacheName)
version of this method.
👍 minor comment |
* | ||
* @see ICacheManager | ||
*/ | ||
public class HazelcastClientInstanceCacheManager implements ICacheManager { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the Hazelcast prefix? Why not call it ClientICacheManager?
…returned by HazelcastInstance.getCacheManager()
8120a2b
to
bfd2037
Compare
Thanks @serkan-ozal & @pveentjer for the quick review. Your comments have been addressed; with regards to class naming, since there are already a few |
👍 once green |
Test PASSed. |
Access to
ICache
instances is now available via separateICacheManager
interface which is accessible fromHazelcastInstance.getCacheManager
.Fixes #8352 .
An EE counterpart is required.
Also provides a new utility method
CacheUtil.getDistributedObjectName
(in a separate commit).