IMapK, VSet Method (K, V, Int64, TimeUnit)Hazelcast .Net Client Class Library
Puts an entry into this map with a given ttl (time to live) value.

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

void Set(
	K key,
	V value,
	long ttl,
	TimeUnit timeunit
)

Parameters

key
Type: K
key of the entry
value
Type: V
value of the entry
ttl
Type: SystemInt64
maximum time to wait for acquiring the lock for the key
timeunit
Type: Hazelcast.CoreTimeUnit
TimeUnit for the ttl
Remarks

Puts an entry into this map with a given ttl (time to live) value. Similar to put operation except that set doesn't return the old value which is more efficient.

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

Reference