Transactional implementation of Map
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.0.1
Syntax
public interface ITransactionalMap<TKey, TValue> : ITransactionalObject, IDistributedObject
Type Parameters
- TKey
- key type
- TValue
- Value type
The ITransactionalMapTKey, TValue type exposes the following members.
Methods
Name | Description | |
---|---|---|
ContainsKey |
Transactional implementation of
ContainsKey(Object) | |
Delete |
Transactional implementation of
Delete(Object)
.
The object to be deleted will be removed from only the current transaction context until the transaction is committed.
| |
Destroy | Destroys this object cluster-wide. (Inherited from IDistributedObject.) | |
Get |
Transactional implementation of
Get(Object)
.
| |
GetForUpdate | Locks the key and then gets and returns the value to which the specified key is mapped. | |
GetName | Returns the unique name for this IDistributedObject. (Inherited from IDistributedObject.) | |
GetPartitionKey | Returns the key of partition this IDistributedObject is assigned to. (Inherited from IDistributedObject.) | |
GetServiceName | Returns the service name for this object. (Inherited from IDistributedObject.) | |
IsEmpty |
Transactional implementation of
IsEmpty
.
| |
KeySet |
Transactional implementation of
KeySet
.
| |
KeySet(IPredicate) |
Transactional implementation of
KeySet(IPredicate)
.
| |
Put(TKey, TValue) |
Transactional implementation of
Put(TKey, TValue)
.
The object to be put will be accessible only in the current transaction context till transaction is committed.
| |
Put(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.
| |
PutIfAbsent |
Transactional implementation of
PutIfAbsent(TKey, TValue)
.
The object to be put will be accessible only in the current transaction context until the transaction is committed.
| |
Remove(Object) |
Transactional implementation of
Remove(Object)
.
The object to be removed will be removed from only the current transaction context until the transaction is committed.
| |
Remove(Object, Object) |
Transactional implementation of
Remove(Object, Object)
.
The object to be removed will be removed from only the current transaction context until the transaction is committed.
| |
Replace(TKey, TValue) |
Transactional implementation of
Replace(TKey, TValue)
.
The object to be replaced will be accessible only in the current transaction context until the transaction is committed.
| |
Replace(TKey, TValue, TValue) |
Transactional implementation of
Replace(TKey, TValue, TValue)
.
The object to be replaced will be accessible only in the current transaction context until the transaction is committed.
| |
Set |
Transactional implementation of
Set(TKey, TValue)
.
The object to be set will be accessible only in the current transaction context till transaction is committed.
| |
Size |
Transactional implementation of
Size
.
| |
Values |
Transactional implementation of
Values
.
| |
Values(IPredicate) |
Transactional implementation of
Values(IPredicate)
.
|
See Also