com.hazelcast.collection.txn
Class TransactionalListProxy<E>

java.lang.Object
  extended by com.hazelcast.spi.AbstractDistributedObject<S>
      extended by com.hazelcast.collection.txn.AbstractTransactionalCollectionProxy<ListService,E>
          extended by com.hazelcast.collection.txn.TransactionalListProxy<E>
All Implemented Interfaces:
DistributedObject, TransactionalList<E>, TransactionalObject

public class TransactionalListProxy<E>
extends AbstractTransactionalCollectionProxy<ListService,E>
implements TransactionalList<E>


Field Summary
 
Fields inherited from class com.hazelcast.collection.txn.AbstractTransactionalCollectionProxy
itemIdSet, name, partitionId, tx
 
Fields inherited from class com.hazelcast.spi.AbstractDistributedObject
PARTITIONING_STRATEGY
 
Constructor Summary
TransactionalListProxy(String name, TransactionSupport tx, NodeEngine nodeEngine, ListService service)
           
 
Method Summary
protected  Collection<CollectionItem> getCollection()
           
 String getServiceName()
          Returns the service name for this object.
 
Methods inherited from class com.hazelcast.collection.txn.AbstractTransactionalCollectionProxy
add, checkTransactionState, getName, remove, size, throwExceptionIfNull
 
Methods inherited from class com.hazelcast.spi.AbstractDistributedObject
destroy, equals, getId, getNameAsPartitionAwareData, getNodeEngine, getPartitionKey, getService, hashCode, invalidate, postDestroy, throwNotActiveException, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.core.TransactionalList
add, remove, size
 
Methods inherited from interface com.hazelcast.core.DistributedObject
destroy, getId, getName, getPartitionKey
 

Constructor Detail

TransactionalListProxy

public TransactionalListProxy(String name,
                              TransactionSupport tx,
                              NodeEngine nodeEngine,
                              ListService service)
Method Detail

getServiceName

public String getServiceName()
Description copied from interface: DistributedObject
Returns the service name for this object.

Specified by:
getServiceName in interface DistributedObject
Specified by:
getServiceName in class AbstractDistributedObject<ListService>
Returns:
the service name for this object.

getCollection

protected Collection<CollectionItem> getCollection()
Specified by:
getCollection in class AbstractTransactionalCollectionProxy<ListService,E>


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.