Tries to put the given key, value into this map within specified timeout value.
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 - 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