Interface MapLoader<K,​V>

  • Type Parameters:
    K - key type
    V - 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 Detail

      • load

        V load​(K key)
        Loads map value by key.
        Parameters:
        key - - map key
        Returns:
        value or null if value doesn't exists
      • loadAllKeys

        Iterable<K> loadAllKeys()
        Loads all keys.
        Returns:
        Iterable object. It's helpful if all keys don't fit in memory.