|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.client.txn.proxy.AbstractClientTxnCollectionProxy<E> com.hazelcast.client.txn.proxy.ClientTxnListProxy<E>
public class ClientTxnListProxy<E>
Constructor Summary | |
---|---|
ClientTxnListProxy(String name,
TransactionContextProxy proxy)
|
Method Summary | |
---|---|
boolean |
add(E e)
Adds a new item to the transactional list. |
void |
destroy()
Destroys this object cluster-wide. |
Object |
getId()
Returns the unique id for this object. |
String |
getPartitionKey()
Returns the key of the partition that this DistributedObject is assigned to. |
String |
getServiceName()
Returns the service name for this object. |
boolean |
remove(E e)
Remove item from the transactional list |
int |
size()
Returns the size of the list |
Methods inherited from class com.hazelcast.client.txn.proxy.AbstractClientTxnCollectionProxy |
---|
getName, throwExceptionIfNull |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hazelcast.core.DistributedObject |
---|
destroy, getId, getName, getPartitionKey |
Constructor Detail |
---|
public ClientTxnListProxy(String name, TransactionContextProxy proxy)
Method Detail |
---|
public String getServiceName()
DistributedObject
getServiceName
in interface DistributedObject
public boolean add(E e)
TransactionalList
add
in interface TransactionalList<E>
e
- the new item added to the transactional list
public boolean remove(E e)
TransactionalList
remove
in interface TransactionalList<E>
e
- item to remove the transactional list
public int size()
TransactionalList
size
in interface TransactionalList<E>
public final void destroy()
DistributedObject
destroy
in interface DistributedObject
public Object getId()
DistributedObject
getId
in interface DistributedObject
public String getPartitionKey()
DistributedObject
IAtomicLong
. For a partitioned data structure like an IMap
,
the returned value will not be null, but otherwise undefined.
getPartitionKey
in interface DistributedObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |