com.hazelcast.multimap.impl.txn
Class TransactionalMultiMapProxySupport

java.lang.Object
  extended by com.hazelcast.spi.AbstractDistributedObject<MultiMapService>
      extended by com.hazelcast.multimap.impl.txn.TransactionalMultiMapProxySupport
All Implemented Interfaces:
DistributedObject, TransactionalObject
Direct Known Subclasses:
TransactionalMultiMapProxy

public abstract class TransactionalMultiMapProxySupport
extends AbstractDistributedObject<MultiMapService>
implements TransactionalObject


Field Summary
protected  MultiMapConfig config
           
protected  String name
           
protected  TransactionSupport tx
           
 
Fields inherited from class com.hazelcast.spi.AbstractDistributedObject
PARTITIONING_STRATEGY
 
Constructor Summary
protected TransactionalMultiMapProxySupport(NodeEngine nodeEngine, MultiMapService service, String name, TransactionSupport tx)
           
 
Method Summary
protected  void checkTransactionState()
           
protected  Collection<MultiMapRecord> getInternal(Data key)
           
 String getServiceName()
          Returns the service name for this object.
protected  boolean putInternal(Data key, Data value)
           
protected  Collection<MultiMapRecord> removeAllInternal(Data key)
           
protected  boolean removeInternal(Data key, Data value)
           
 int size()
           
protected  int valueCountInternal(Data key)
           
 
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.DistributedObject
destroy, getId, getName, getPartitionKey
 

Field Detail

name

protected final String name

tx

protected final TransactionSupport tx

config

protected final MultiMapConfig config
Constructor Detail

TransactionalMultiMapProxySupport

protected TransactionalMultiMapProxySupport(NodeEngine nodeEngine,
                                            MultiMapService service,
                                            String name,
                                            TransactionSupport tx)
Method Detail

checkTransactionState

protected void checkTransactionState()

putInternal

protected boolean putInternal(Data key,
                              Data value)

removeInternal

protected boolean removeInternal(Data key,
                                 Data value)

removeAllInternal

protected Collection<MultiMapRecord> removeAllInternal(Data key)

getInternal

protected Collection<MultiMapRecord> getInternal(Data key)

valueCountInternal

protected int valueCountInternal(Data key)

size

public int size()

getServiceName

public final 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<MultiMapService>
Returns:
the service name for this object.


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