com.hazelcast.mapreduce.impl.notification
Class MemberAwareMapReduceNotification

java.lang.Object
  extended by com.hazelcast.mapreduce.impl.notification.MapReduceNotification
      extended by com.hazelcast.mapreduce.impl.notification.MemberAwareMapReduceNotification
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable
Direct Known Subclasses:
IntermediateChunkNotification, LastChunkNotification, ReducingFinishedNotification

public abstract class MemberAwareMapReduceNotification
extends MapReduceNotification

Base class for all notifications based on a member


Constructor Summary
protected MemberAwareMapReduceNotification()
           
protected MemberAwareMapReduceNotification(Address address, String name, String jobId)
           
 
Method Summary
 Address getAddress()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class com.hazelcast.mapreduce.impl.notification.MapReduceNotification
getJobId, getName
 
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
 

Constructor Detail

MemberAwareMapReduceNotification

protected MemberAwareMapReduceNotification()

MemberAwareMapReduceNotification

protected MemberAwareMapReduceNotification(Address address,
                                           String name,
                                           String jobId)
Method Detail

getAddress

public Address getAddress()

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Overrides:
writeData in class MapReduceNotification
Parameters:
out - output
Throws:
IOException

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Overrides:
readData in class MapReduceNotification
Parameters:
in - input
Throws:
IOException

toString

public String toString()
Overrides:
toString in class MapReduceNotification


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