Interface ExtendedMapEntry<K,​V>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V setValue​(V value, long ttl, java.util.concurrent.TimeUnit ttlUnit)
      Set the value and set the TTL to a non-default value for the IMap
      V setValueWithoutChangingExpiryTime​(V value)
      Calling this method can result with one of these two cases: When there is no previous entry, this method works same as Map.Entry.setValue(V) and creates entry with existing expiry settings When an entry already exists, it updates value without changing expiry time of it
      • Methods inherited from interface java.util.Map.Entry

        equals, getKey, getValue, hashCode, setValue
    • Method Detail

      • setValue

        V setValue​(V value,
                   long ttl,
                   java.util.concurrent.TimeUnit ttlUnit)
        Set the value and set the TTL to a non-default value for the IMap
      • setValueWithoutChangingExpiryTime

        V setValueWithoutChangingExpiryTime​(V value)
        Calling this method can result with one of these two cases:
        • When there is no previous entry, this method works same as Map.Entry.setValue(V) and creates entry with existing expiry settings
        • When an entry already exists, it updates value without changing expiry time of it
        Since:
        5.2