|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.mapreduce.impl.notification.MapReduceNotification
com.hazelcast.mapreduce.impl.notification.MemberAwareMapReduceNotification
com.hazelcast.mapreduce.impl.notification.LastChunkNotification<KeyOut,Value>
KeyOut - type of the keyValue - type of the valuepublic class LastChunkNotification<KeyOut,Value>
This notification is used to notify the reducer that this chunk is the last chunk of the defined partitionId.
| Constructor Summary | |
|---|---|
LastChunkNotification()
|
|
LastChunkNotification(Address address,
String name,
String jobId,
Address sender,
int partitionId,
Map<KeyOut,Value> chunk)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.hazelcast.mapreduce.impl.notification.MemberAwareMapReduceNotification |
|---|
getAddress |
| Methods inherited from class com.hazelcast.mapreduce.impl.notification.MapReduceNotification |
|---|
getJobId, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LastChunkNotification()
public LastChunkNotification(Address address,
String name,
String jobId,
Address sender,
int partitionId,
Map<KeyOut,Value> chunk)
| Method Detail |
|---|
public Map<KeyOut,Value> getChunk()
public int getPartitionId()
public Address getSender()
public void writeData(ObjectDataOutput out)
throws IOException
DataSerializable
writeData in interface DataSerializablewriteData in class MemberAwareMapReduceNotificationout - output
IOException
public void readData(ObjectDataInput in)
throws IOException
DataSerializable
readData in interface DataSerializablereadData in class MemberAwareMapReduceNotificationin - input
IOExceptionpublic int getFactoryId()
IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
public String toString()
toString in class MemberAwareMapReduceNotification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||