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
- 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 © 2021 Hazelcast, Inc.. All Rights Reserved.