Tries to put the given key, value into this map within specified timeout value.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
Syntax
Parameters
- key
- Type: TKey
key of the entry - value
- Type: TValue
value of the entry - timeout
- Type: SystemInt64
maximum time to wait - timeunit
- Type: Hazelcast.CoreTimeUnit
TimeUnit for the timeout
Return Value
Type: Booleantrue if the put is successful, false otherwise.
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