public abstract class AbstractTransactionalCollectionProxy<S extends RemoteService,E> extends AbstractDistributedObject<S>
| Modifier and Type | Field and Description | 
|---|---|
protected Set<Long> | 
itemIdSet  | 
protected String | 
name  | 
protected int | 
partitionId  | 
protected TransactionSupport | 
tx  | 
PARTITIONING_STRATEGY| Constructor and Description | 
|---|
AbstractTransactionalCollectionProxy(String name,
                                    TransactionSupport tx,
                                    NodeEngine nodeEngine,
                                    S service)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(E e)  | 
protected void | 
checkTransactionState()  | 
protected abstract Collection<CollectionItem> | 
getCollection()  | 
String | 
getName()
Returns the unique name for this DistributedObject. 
 | 
boolean | 
remove(E e)  | 
int | 
size()  | 
protected void | 
throwExceptionIfNull(Object o)  | 
destroy, equals, getId, getNameAsPartitionAwareData, getNodeEngine, getPartitionKey, getService, getServiceName, hashCode, invalidate, postDestroy, throwNotActiveException, toStringprotected final String name
protected final TransactionSupport tx
protected final int partitionId
public AbstractTransactionalCollectionProxy(String name, TransactionSupport tx, NodeEngine nodeEngine, S service)
protected abstract Collection<CollectionItem> getCollection()
public String getName()
DistributedObjectpublic boolean add(E e)
public boolean remove(E e)
public int size()
protected void checkTransactionState()
protected void throwExceptionIfNull(Object o)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.