com.hazelcast.collection.impl.txncollection
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 |
checkObjectNotNull(Object o) |
protected void |
checkTransactionActive() |
protected abstract Collection<CollectionItem> |
getCollection() |
String |
getName()
Returns the unique name for this DistributedObject.
|
boolean |
remove(E e) |
int |
size() |
destroy, equals, getId, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionKey, getService, getServiceName, hashCode, invalidate, postDestroy, throwNotActiveException, toString
protected 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()
DistributedObject
public boolean add(E e)
public boolean remove(E e)
public int size()
protected void checkTransactionActive()
protected void checkObjectNotNull(Object o)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.