com.hazelcast.core
Interface TransactionalList<E>

All Superinterfaces:
DistributedObject, TransactionalObject

public interface TransactionalList<E>
extends TransactionalObject

Transactional implementation of IList.


Method Summary
 boolean add(E e)
          Add new item to transactional list
 boolean remove(E e)
          Add item from 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)
Add new item to transactional list

Parameters:
e - item
Returns:
true if item is added successfully

remove

boolean remove(E e)
Add item from transactional list

Parameters:
e - item
Returns:
true if item is remove successfully

size

int size()
Returns the size of the list

Returns:
size


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