public interface TransactionalSetCodecTemplate
Modifier and Type | Method and Description |
---|---|
Object |
add(String name,
String txnId,
long threadId,
Data item)
Add new item to transactional set.
|
Object |
remove(String name,
String txnId,
long threadId,
Data item)
Remove item from transactional set.
|
Object |
size(String name,
String txnId,
long threadId)
Returns the size of the set.
|
Object add(String name, String txnId, long threadId, Data item)
name
- Name of the Transactional SettxnId
- ID of the this transaction operationthreadId
- The id of the user thread performing the operation. It is used to guarantee that only the lock holder thread (if a lock exists on the entry) can perform the requested operation.item
- Item added to transactional setObject remove(String name, String txnId, long threadId, Data item)
name
- Name of the Transactional SettxnId
- ID of the this transaction operationthreadId
- The id of the user thread performing the operation. It is used to guarantee that only the lock holder thread (if a lock exists on the entry) can perform the requested operation.item
- Item removed from Transactional SetObject size(String name, String txnId, long threadId)
name
- Name of the Transactional SettxnId
- ID of the this transaction operationthreadId
- The id of the user thread performing the operation. It is used to guarantee that only the lock holder thread (if a lock exists on the entry) can perform the requested operation.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.