com.hazelcast.multimap.impl.operations
Class MultiMapKeyBasedOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.multimap.impl.operations.MultiMapOperation
          extended by com.hazelcast.multimap.impl.operations.MultiMapKeyBasedOperation
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable, RemotePropagatable<Operation>, PartitionAwareOperation
Direct Known Subclasses:
CountOperation, GetAllOperation, MultiMapBackupAwareOperation, PutBackupOperation, RemoveAllBackupOperation, RemoveBackupOperation, TxnCommitBackupOperation, TxnGenerateRecordIdOperation, TxnLockAndGetOperation, TxnPrepareBackupOperation, TxnPutBackupOperation, TxnPutOperation, TxnRemoveAllBackupOperation, TxnRemoveAllOperation, TxnRemoveBackupOperation, TxnRemoveOperation, TxnRollbackBackupOperation

public abstract class MultiMapKeyBasedOperation
extends MultiMapOperation
implements PartitionAwareOperation


Field Summary
protected  Data dataKey
           
protected  long threadId
           
 
Fields inherited from class com.hazelcast.multimap.impl.operations.MultiMapOperation
name, response
 
Constructor Summary
protected MultiMapKeyBasedOperation()
           
protected MultiMapKeyBasedOperation(String name, Data dataKey)
           
protected MultiMapKeyBasedOperation(String name, Data dataKey, long threadId)
           
 
Method Summary
 void delete()
           
 MultiMapWrapper getCollectionWrapper()
           
 MultiMapWrapper getOrCreateCollectionWrapper()
           
 long getThreadId()
           
protected  void readInternal(ObjectDataInput in)
           
 Collection<MultiMapRecord> remove(boolean copyOf)
           
 void setThreadId(long threadId)
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.multimap.impl.operations.MultiMapOperation
afterRun, beforeRun, getAsyncBackupCount, getFactoryId, getOrCreateContainer, getResponse, getServiceName, getSyncBackupCount, getValueCollectionType, hasListener, isBinary, publishEvent, returnsResponse, toData, toObject
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation
getPartitionId
 
Methods inherited from interface com.hazelcast.nio.serialization.IdentifiedDataSerializable
getId
 
Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable
readData, writeData
 

Field Detail

dataKey

protected Data dataKey

threadId

protected long threadId
Constructor Detail

MultiMapKeyBasedOperation

protected MultiMapKeyBasedOperation()

MultiMapKeyBasedOperation

protected MultiMapKeyBasedOperation(String name,
                                    Data dataKey)

MultiMapKeyBasedOperation

protected MultiMapKeyBasedOperation(String name,
                                    Data dataKey,
                                    long threadId)
Method Detail

getThreadId

public long getThreadId()

setThreadId

public void setThreadId(long threadId)

getOrCreateCollectionWrapper

public final MultiMapWrapper getOrCreateCollectionWrapper()

getCollectionWrapper

public final MultiMapWrapper getCollectionWrapper()

remove

public final Collection<MultiMapRecord> remove(boolean copyOf)

delete

public final void delete()

writeInternal

protected void writeInternal(ObjectDataOutput out)
                      throws IOException
Overrides:
writeInternal in class MultiMapOperation
Throws:
IOException

readInternal

protected void readInternal(ObjectDataInput in)
                     throws IOException
Overrides:
readInternal in class MultiMapOperation
Throws:
IOException


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