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 
 | 
getAddressgetJobId, getNamepublic int getPartitionId()
public Address getSender()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class MemberAwareMapReduceNotificationout - 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
DataSerializablereadData in interface DataSerializablereadData in class MemberAwareMapReduceNotificationin - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablepublic String toString()
toString in class MemberAwareMapReduceNotificationCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.