Interface RMultimapCacheAsync<K,​V>

    • Method Detail

      • expireKeyAsync

        RFuture<Boolean> expireKeyAsync​(K key,
                                        long timeToLive,
                                        TimeUnit timeUnit)
        Set a timeout for key in async mode. After the timeout has expired, the key and its values will automatically be deleted.
        key - - map key
        timeToLive - - timeout before key will be deleted
        timeUnit - - timeout time unit
        true if key exists and the timeout was set and false if key not exists