Package org.redisson.api.map
Interface MapLoader<K,V>
- Type Parameters:
K
- key typeV
- value type
public interface MapLoader<K,V>
Map loader used for read-through operations or during
RMap.loadAll(boolean, int)
execution.- Author:
- Nikita Koksharov
-
Method Summary
-
Method Details
-
load
Loads map value by key.- Parameters:
key
- - map key- Returns:
- value or
null
if value doesn't exists
-
loadAllKeys
Loads all keys.- Returns:
- Iterable object. It's helpful if all keys don't fit in memory.
-