Class WorkerDoneEvent
java.lang.Object
org.apache.flink.runtime.event.AbstractEvent
org.apache.flink.runtime.event.TaskEvent
org.apache.flink.runtime.iterative.event.IterationEventWithAggregators
org.apache.flink.runtime.iterative.event.WorkerDoneEvent
- All Implemented Interfaces:
org.apache.flink.core.io.IOReadableWritable
Completion event sent from each
IterationHead to the
IterationSynchronizationSinkTask.-
Field Summary
Fields inherited from class org.apache.flink.runtime.iterative.event.IterationEventWithAggregators
NO_STRINGS, NO_VALUES -
Constructor Summary
ConstructorsConstructorDescriptionWorkerDoneEvent(int workerIndex, String aggregatorName, org.apache.flink.types.Value aggregate) WorkerDoneEvent(int workerIndex, Map<String, org.apache.flink.api.common.aggregators.Aggregator<?>> aggregators) -
Method Summary
Methods inherited from class org.apache.flink.runtime.iterative.event.IterationEventWithAggregators
getAggregates, getAggregatorNames
-
Constructor Details
-
WorkerDoneEvent
public WorkerDoneEvent() -
WorkerDoneEvent
public WorkerDoneEvent(int workerIndex, String aggregatorName, org.apache.flink.types.Value aggregate) -
WorkerDoneEvent
-
-
Method Details
-
getWorkerIndex
public int getWorkerIndex() -
write
- Specified by:
writein interfaceorg.apache.flink.core.io.IOReadableWritable- Overrides:
writein classIterationEventWithAggregators- Throws:
IOException
-
read
- Specified by:
readin interfaceorg.apache.flink.core.io.IOReadableWritable- Overrides:
readin classIterationEventWithAggregators- Throws:
IOException
-