public class ClientTxnSetProxy<E> extends AbstractClientTxnCollectionProxy<E> implements TransactionalSet<E>
| Constructor and Description |
|---|
ClientTxnSetProxy(String name,
TransactionContextProxy proxy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Add new item to transactional set
|
void |
destroy()
Destroys this object cluster-wide.
|
Object |
getId()
Returns the unique id for this object.
|
String |
getPartitionKey()
Returns the key of partition this DistributedObject is assigned to.
|
String |
getServiceName()
Returns the service name for this object.
|
boolean |
remove(E e)
Add item from transactional set
|
int |
size()
Returns the size of the set
|
getName, throwExceptionIfNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getId, getName, getPartitionKeypublic ClientTxnSetProxy(String name, TransactionContextProxy proxy)
public boolean add(E e)
TransactionalSetadd in interface TransactionalSet<E>e - itempublic boolean remove(E e)
TransactionalSetremove in interface TransactionalSet<E>e - itempublic int size()
TransactionalSetsize in interface TransactionalSet<E>public String getServiceName()
DistributedObjectgetServiceName in interface DistributedObjectpublic final void destroy()
DistributedObjectdestroy in interface DistributedObjectpublic Object getId()
DistributedObjectgetId in interface DistributedObjectpublic String getPartitionKey()
DistributedObjectgetPartitionKey in interface DistributedObjectCopyright © 2021 Hazelcast, Inc.. All rights reserved.