com.hazelcast.core
Interface TransactionalSet<E>

All Superinterfaces:
DistributedObject, TransactionalObject

public interface TransactionalSet<E>
extends TransactionalObject

Transactional implementation of ISet.


Method Summary
 boolean add(E e)
          Add new item to transactional set
 boolean remove(E e)
          Add item from transactional set
 int size()
          Returns the size of the set
 
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 set

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

remove

boolean remove(E e)
Add item from transactional set

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

size

int size()
Returns the size of the set

Returns:
size


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