com.hazelcast.mapreduce.impl.operation
Class ProcessingOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.mapreduce.impl.operation.ProcessingOperation
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable, RemotePropagatable<Operation>
Direct Known Subclasses:
CancelJobSupervisorOperation, FireNotificationOperation, GetResultOperation, KeysAssignmentOperation, NotifyRemoteExceptionOperation, PostPonePartitionProcessing, ProcessStatsUpdateOperation, RequestMemberIdAssignment, RequestPartitionMapping, RequestPartitionProcessed, RequestPartitionReducing

public abstract class ProcessingOperation
extends AbstractOperation
implements IdentifiedDataSerializable

This is the base class for all map reduce framework operations, it always contains the name of the JobTracker and the unique jobId


Constructor Summary
ProcessingOperation()
           
ProcessingOperation(String name, String jobId)
           
 
Method Summary
 String getJobId()
           
 String getName()
           
 String getServiceName()
           
protected  void readInternal(ObjectDataInput in)
           
 boolean returnsResponse()
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun, getResponse
 
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.nio.serialization.IdentifiedDataSerializable
getFactoryId, getId
 
Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable
readData, writeData
 

Constructor Detail

ProcessingOperation

public ProcessingOperation()

ProcessingOperation

public ProcessingOperation(String name,
                           String jobId)
Method Detail

returnsResponse

public boolean returnsResponse()
Specified by:
returnsResponse in interface RemotePropagatable<Operation>
Overrides:
returnsResponse in class AbstractOperation

getServiceName

public String getServiceName()
Overrides:
getServiceName in class Operation

getName

public String getName()

getJobId

public String getJobId()

writeInternal

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

readInternal

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


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