com.hazelcast.core
Interface TransactionalList<E>

All Superinterfaces:
DistributedObject, TransactionalObject
All Known Implementing Classes:
ClientTxnListProxy, TransactionalListProxy

public interface TransactionalList<E>
extends TransactionalObject

Transactional implementation of IList.


Method Summary
 boolean add(E e)
          Adds a new item to the transactional list.
 boolean remove(E e)
          Remove item from the transactional list
 int size()
          Returns the size of the list
 
Methods inherited from interface com.hazelcast.core.DistributedObject
destroy, getId, getName, getPartitionKey, getServiceName
 

Method Detail

add

boolean add(E e)
Adds a new item to the transactional list.

Parameters:
e - the new item added to the transactional list
Returns:
true if the item is added successfully, false otherwise

remove

boolean remove(E e)
Remove item from the transactional list

Parameters:
e - item to remove the transactional list
Returns:
true if the item is removed successfully, false otherwise

size

int size()
Returns the size of the list

Returns:
the size of the list


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.