![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ITransactionalMapTKey, TValuePut Method (TKey, TValue, Int64, TimeUnit) |
Transactional implementation of
Put(TKey, TValue, Int64, TimeUnit)
.
The object to be put will be accessible only in the current transaction context till transaction is committed.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
SyntaxTValue Put(
TKey key,
TValue value,
long ttl,
TimeUnit timeunit
)
Function Put (
key As TKey,
value As TValue,
ttl As Long,
timeunit As TimeUnit
) As TValue
TValue Put(
TKey key,
TValue value,
long long ttl,
TimeUnit timeunit
)
abstract Put :
key : 'TKey *
value : 'TValue *
ttl : int64 *
timeunit : TimeUnit -> 'TValue
Parameters
- key
- Type: TKey
- value
- Type: TValue
- ttl
- Type: SystemInt64
- timeunit
- Type: Hazelcast.CoreTimeUnit
Return Value
Type:
TValue
See Also