public class TransactionalSetProxy<E> extends AbstractTransactionalCollectionProxy<SetService,E> implements TransactionalSet<E>
itemIdSet, name, partitionIdtxPARTITIONING_STRATEGY| Constructor and Description |
|---|
TransactionalSetProxy(String name,
Transaction tx,
NodeEngine nodeEngine,
SetService service) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Add new item to transactional set.
|
protected Collection<CollectionItem> |
getCollection() |
String |
getServiceName()
Returns the service name for this object.
|
checkObjectNotNull, checkTransactionActive, getName, remove, sizetoObjectIfNeededdestroy, equals, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, postDestroy, throwNotActiveException, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitremove, sizedestroy, getName, getPartitionKeypublic TransactionalSetProxy(String name, Transaction tx, NodeEngine nodeEngine, SetService service)
public boolean add(E e)
TransactionalSetadd in interface TransactionalSet<E>add in class AbstractTransactionalCollectionProxy<SetService,E>e - item added to transactional setpublic String getServiceName()
DistributedObjectgetServiceName in interface DistributedObjectgetServiceName in class AbstractDistributedObject<SetService>protected Collection<CollectionItem> getCollection()
getCollection in class AbstractTransactionalCollectionProxy<SetService,E>Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.