public class ClientTxnListProxy<E> extends AbstractClientTxnCollectionProxy<E> implements TransactionalList<E>
Constructor and Description |
---|
ClientTxnListProxy(String name,
TransactionContextProxy proxy) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e)
Add new item to transactional list
|
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 list
|
int |
size()
Returns the size of the list
|
getName, throwExceptionIfNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getId, getName, getPartitionKey
public ClientTxnListProxy(String name, TransactionContextProxy proxy)
public String getServiceName()
DistributedObject
getServiceName
in interface DistributedObject
public boolean add(E e)
TransactionalList
add
in interface TransactionalList<E>
e
- itempublic boolean remove(E e)
TransactionalList
remove
in interface TransactionalList<E>
e
- itempublic 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
getPartitionKey
in interface DistributedObject
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.