public class IterationIntermediatePactTask<S extends org.apache.flink.api.common.functions.Function,OT> extends AbstractIterativePactTask<S,OT>
It will propagate EndOfSuperstepEvents and TerminationEvents to it's connected tasks. Furthermore
intermediate tasks can also update the iteration state, either the workset or the solution set.
If the iteration state is updated, the output of this task will be send back to the IterationHeadPactTask via
a BlockingBackChannel for the workset -XOR- a eHashTable for the solution set. In this case
this task must be scheduled on the same instance as the head.
isSolutionSetUpdate, isWorksetIteration, isWorksetUpdate, worksetAggregator, worksetBackChannelbroadcastInputReaders, broadcastInputSerializers, chainedTasks, config, driver, eventualOutputs, inputComparators, inputIterators, inputReaders, inputs, inputSerializers, iterativeBroadcastInputs, iterativeInputs, localStrategies, LOG, output, resettableInputs, running, runtimeUdfContext, stub, tempBarriers| Constructor and Description |
|---|
IterationIntermediatePactTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initialize() |
void |
run() |
brokerKey, cancel, closeLocalStrategiesAndCaches, createRuntimeContext, createSolutionSetUpdateOutputCollector, createWorksetUpdateOutputCollector, createWorksetUpdateOutputCollector, currentIteration, getIterationAggregators, incrementIterationCounter, inFirstIteration, requestTermination, terminationRequested, verifyEndOfSuperstepStatecancelChainedTasks, clearReaders, clearWriters, closeChainedTasks, closeUserCode, constructLogString, createInputIterator, excludeFromReset, formatLogString, getDriverComparator, getInput, getInputSerializer, getIOManager, getLastOutputCollector, getLastTasksConfig, getMemoryManager, getNumTaskInputs, getOutputCollector, getOutputCollector, getOwningNepheleTask, getStub, getTaskConfig, initBroadcastInputReaders, initBroadcastInputsSerializers, initInputReaders, initInputsSerializersAndComparators, initLocalStrategies, initOutputs, initOutputs, initStub, instantiateUserCode, invoke, logAndThrowException, openChainedTasks, openUserCode, readAndSetBroadcastInput, registerInputOutput, releaseBroadcastVariables, reportAndClearAccumulators, resetAllInputs, setLastOutputCollectorgetCurrentNumberOfSubtasks, getEnvironment, getExecutionConfig, getIndexInSubtaskGroup, getJobConfiguration, getTaskConfiguration, getUserCodeClassLoader, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExecutionConfig, getUserCodeClassLoaderprotected void initialize()
throws Exception
initialize in class AbstractIterativePactTask<S extends org.apache.flink.api.common.functions.Function,OT>ExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.