KeyOut
- type of the keyValue
- type of the valuepublic class IntermediateChunkNotification<KeyOut,Value> extends MemberAwareMapReduceNotification
Constructor and Description |
---|
IntermediateChunkNotification() |
IntermediateChunkNotification(Address address,
String name,
String jobId,
Map<KeyOut,Value> chunk,
int partitionId) |
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() |
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 void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class MemberAwareMapReduceNotification
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class MemberAwareMapReduceNotification
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public int getFactoryId()
IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
public String toString()
toString
in class MemberAwareMapReduceNotification
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.