public abstract class AbstractClientTxnCollectionProxy<E> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClientTxnCollectionProxy(String name,
ClientTransactionContext transactionContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys this object cluster-wide.
|
Object |
getId()
Returns the unique id for this object.
|
String |
getName()
Returns the unique name for this DistributedObject.
|
String |
getPartitionKey()
Returns the key of the partition that this DistributedObject is assigned to.
|
protected String |
getTransactionId() |
protected void |
throwExceptionIfNull(Object o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceNameprotected AbstractClientTxnCollectionProxy(String name, ClientTransactionContext transactionContext)
public String getName()
DistributedObjectprotected void throwExceptionIfNull(Object o)
protected String getTransactionId()
public final void destroy()
DistributedObjectdestroy in interface DistributedObjectpublic Object getId()
DistributedObjectgetId in interface DistributedObjectpublic String getPartitionKey()
DistributedObjectIAtomicLong. For a partitioned data structure like an IMap,
the returned value will not be null, but otherwise undefined.getPartitionKey in interface DistributedObjectCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.