Java Code Examples for com.hazelcast.core.HazelcastInstance#getMultiMap()
The following examples show how to use
com.hazelcast.core.HazelcastInstance#getMultiMap() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MessageServerManager.java From sctalk with Apache License 2.0 | 4 votes |
public MessageServerManager(HazelcastInstance hazelcastInstance) { this.messageServerInfoMap = hazelcastInstance.getMap("message-server#router#server"); this.messageServerConnectionMap = hazelcastInstance.getMultiMap("message-server#router#server#connection"); this.memberId = hazelcastInstance.getCluster().getLocalMember().getUuid(); }
Example 2
Source File: HazelcastMultiMap.java From hazelcast-locks with Apache License 2.0 | 4 votes |
public HazelcastMultiMap(HazelcastInstance hazelcastInstance, String name) { this.delegate = hazelcastInstance.getMultiMap(name); }
Example 3
Source File: SubsMapHelper.java From vertx-hazelcast with Apache License 2.0 | 4 votes |
public SubsMapHelper(VertxInternal vertx, HazelcastInstance hazelcast, NodeSelector nodeSelector) { this.vertx = vertx; map = hazelcast.getMultiMap("__vertx.subs"); this.nodeSelector = nodeSelector; listenerId = map.addEntryListener(this, false); }