public class TransactionalSetProxy<E> extends AbstractTransactionalCollectionProxy<SetService,E> implements TransactionalSet<E>
itemIdSet, name, operationService, partitionId
tx
PARTITIONING_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, putToRecord, remove, size
toObjectIfNeeded
destroy, equals, getDistributedObjectName, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, invokeOnPartition, isClusterVersionEqualTo, isClusterVersionGreaterOrEqual, isClusterVersionGreaterThan, isClusterVersionLessOrEqual, isClusterVersionLessThan, isClusterVersionUnknown, isClusterVersionUnknownOrGreaterOrEqual, isClusterVersionUnknownOrGreaterThan, isClusterVersionUnknownOrLessOrEqual, isClusterVersionUnknownOrLessThan, postDestroy, preDestroy, throwNotActiveException, toData, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
remove, size
destroy, getName, getPartitionKey
public TransactionalSetProxy(String name, Transaction tx, NodeEngine nodeEngine, SetService service)
public boolean add(E e)
TransactionalSet
add
in interface TransactionalSet<E>
add
in class AbstractTransactionalCollectionProxy<SetService,E>
e
- item added to transactional settrue
if item is added successfullypublic String getServiceName()
DistributedObject
getServiceName
in interface DistributedObject
getServiceName
in class AbstractDistributedObject<SetService>
protected Collection<CollectionItem> getCollection()
getCollection
in class AbstractTransactionalCollectionProxy<SetService,E>
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.