com.hazelcast.mapreduce.impl.notification
KeyOut
- type of the keyValue
- type of the valuepublic class LastChunkNotification<KeyOut,Value> extends MemberAwareMapReduceNotification
Constructor and Description |
---|
LastChunkNotification() |
LastChunkNotification(Address address,
String name,
String jobId,
Address sender,
int partitionId,
Map<KeyOut,Value> chunk) |
Modifier and Type | Method and Description |
---|---|
Map<KeyOut,Value> |
getChunk() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
int |
getPartitionId() |
Address |
getSender() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getAddress
getJobId, getName
public int getPartitionId()
public Address getSender()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class MemberAwareMapReduceNotification
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class MemberAwareMapReduceNotification
in
- inputIOException
public int getFactoryId()
IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
public String toString()
toString
in class MemberAwareMapReduceNotification
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.