com.hazelcast.mapreduce.impl.notification
Class MapReduceNotification

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

public abstract class MapReduceNotification
extends Object
implements IdentifiedDataSerializable

Base class for all map reduce framework notifications


Constructor Summary
MapReduceNotification()
           
MapReduceNotification(String name, String jobId)
           
 
Method Summary
 String getJobId()
           
 String getName()
           
 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 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

MapReduceNotification

public MapReduceNotification()

MapReduceNotification

public MapReduceNotification(String name,
                             String jobId)
Method Detail

getName

public String getName()

getJobId

public String getJobId()

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
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
Parameters:
in - input
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


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