> --
> You received this message because you are subscribed to the Google Groups "Hazelcast" group.
> To post to this group, send email to haze...@googlegroups.com.
> To unsubscribe from this group, send email to hazelcast+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hazelcast?hl=en.
>
>
Set<Member> sm = hazelcastInstance.getCluster().getMembers(); for(Member m : sm){ Map<String, Object> mm = m.getAttributes(); Set<Map.Entry<String, Object>> entrySet1 = mm.entrySet(); for(Map.Entry<String, Object> mmo : entrySet1){ System.out.println("Key: " + mmo.getKey()); System.out.println("Value: " + mmo.getValue()); }}Here is the MapLoader initialization flow:
- When
getMap() is first called from any member, initialization will start depending on the value ofInitialLoadMode. If it is set to EAGER, initialization starts. If it is set to LAZY, initialization does not start but data is loaded each time a partition loading completes. - Hazelcast will call
MapLoader.loadAllKeys() to get all your keys on one of the members. - That member will distribute keys to all other members in batches.
- Each member will load values of all its owned keys by calling
MapLoader.loadAll(keys). - Each member puts its owned entries into the map by calling
IMap.putTransient(key,value).
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/7af25f70-1604-4fdb-af3d-b25295be73f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.