Modifier and Type | Method and Description |
---|---|
V |
setValue(V value,
long ttl,
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
|
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getKey, getValue, hashCode, setValue
V setValue(V value, long ttl, TimeUnit ttlUnit)
V setValueWithoutChangingExpiryTime(V value)
Map.Entry.setValue(V)
and creates
entry with existing expiry settingsCopyright © 2023 Hazelcast, Inc.. All rights reserved.