user2655051
user2655051

Reputation:

Load All in hazelcast calling multiple times

In Hazelcast 3.3, Load keys are called once and I return 2 keys in it. But when I comes to loadAll, it calls twice with one key as input, It performs like load() not loadAll().

For your information, I don't configure partition, neither above 1000 keys, Just have two keys.

Where Am I going wrong?

Upvotes: 2

Views: 428

Answers (1)

pveentjer
pveentjer

Reputation: 11307

The behavior is correct. If you have 271 partitions, then each partition will load its own keys. In your case, you have 2 keys and they are apparently in different partitions. So therefor each partition will do a loadAll; even though it loads only single key.

Upvotes: 2

Related Questions