Package com.hazelcast.map
Interface ExtendedMapEntry<K,V>
- Type Parameters:
K
- key typeV
- value type
- All Superinterfaces:
Map.Entry<K,
V>
Interface to provide parity with IMap set and put operations. For use in EntryProcessors.
-
Method Summary
Modifier and TypeMethodDescriptionSet the value and set the TTL to a non-default value for the IMapCalling this method can result with one of these two cases: When there is no previous entry, this method works same asMap.Entry.setValue(V)
and creates entry with existing expiry settings When an entry already exists, it updates value without changing expiry time of it
-
Method Details
-
setValue
Set the value and set the TTL to a non-default value for the IMap -
setValueWithoutChangingExpiryTime
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
- When there is no previous entry, this method
works same as
-