I am implementing hazelcast MapLoader and it works fine for loadAll and load methods.
But, in documentation they have giver person example and it just returns null in loadAllKeys method.
public Set<Long> loadAllKeys() {
return null;
}
Is this implementation correct or do I need to write any logic here to load keys from database.
If you return null you enable completely lazy loading. Every key will then be passed right down to the database to look up key and value at once.