Interface RMultimapCache<K,​V>

    • Method Detail

      • expireKey

        boolean expireKey​(K key,
                          long timeToLive,
                          TimeUnit timeUnit)
        Set a timeout for key. After the timeout has expired, the key and its values will automatically be deleted.
        Parameters:
        key - - map key
        timeToLive - - timeout before key will be deleted
        timeUnit - - timeout time unit
        Returns:
        true if key exists and the timeout was set and false if key not exists