Same as Put(K, V, Int64, TimeUnit)
but MapStore, if defined,
will not be called to store/persist the entry. If ttl is 0, then
the entry lives forever.
Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.12
Syntax
Parameters
- key
- Type: K
key of the entry - value
- Type: V
value of the entry - ttl
- Type: SystemInt64
maximum time for this entry to stay in the map. 0 means infinite. - timeunit
- Type: Hazelcast.CoreTimeUnit
TimeUnit for the ttl
Remarks
Warning:
This method uses GetHashCode and Equals of binary form of the key, not the actual implementations of GetHashCode and Equals defined in key's class.See Also