public interface TransactionalListCodecTemplate
| Modifier and Type | Method and Description | 
|---|---|
| Object | add(String name,
   String txnId,
   long threadId,
   Data item)Adds a new item to the transactional list. | 
| Object | remove(String name,
      String txnId,
      long threadId,
      Data item)Remove item from the transactional list | 
| Object | size(String name,
    String txnId,
    long threadId)Returns the size of the list | 
Object add(String name, String txnId, long threadId, Data item)
name - Name of the Transactional ListtxnId - 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 - The new item added to the transactionalListObject remove(String name, String txnId, long threadId, Data item)
name - Name of the Transactional ListtxnId - 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 to remove to transactional ListObject size(String name, String txnId, long threadId)
name - Name of the Transactional ListtxnId - 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 © 2015 Hazelcast, Inc.. All Rights Reserved.