@Internal public class StreamIterationHead<OUT> extends OneInputStreamTask<OUT,OUT>
StreamTask that is used for executing feedback edges. This is used in
combination with StreamIterationTail.StreamTask.AsyncCheckpointRunnableconfiguration, headOperator, operatorChain, stateBackend, timerService, TRIGGER_THREAD_GROUP| Constructor and Description |
|---|
StreamIterationHead(org.apache.flink.runtime.execution.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelTask() |
protected void |
cleanup() |
static String |
createBrokerIdString(org.apache.flink.api.common.JobID jid,
String iterationID,
int subtaskIndex)
Creates the identification string with which head and tail task find the shared blocking
queue for the back channel.
|
void |
init() |
protected void |
run() |
abortCheckpointOnBarrier, cancel, createCheckpointExceptionHandlerFactory, createStreamRecordWriters, createStreamTaskStateInitializer, finalize, getAccumulatorMap, getAsyncOperationsThreadPool, getCancelables, getCheckpointLock, getCheckpointStorage, getConfiguration, getName, getProcessingTimeService, getStreamStatusMaintainer, handleAsyncException, invoke, isCanceled, isRunning, notifyCheckpointComplete, toString, triggerCheckpoint, triggerCheckpointOnBarrierpublic StreamIterationHead(org.apache.flink.runtime.execution.Environment env)
protected void run()
throws Exception
run in class OneInputStreamTask<OUT,OUT>Exceptionprotected void cancelTask()
cancelTask in class OneInputStreamTask<OUT,OUT>public void init()
init in class OneInputStreamTask<OUT,OUT>protected void cleanup()
throws Exception
cleanup in class OneInputStreamTask<OUT,OUT>Exceptionpublic static String createBrokerIdString(org.apache.flink.api.common.JobID jid, String iterationID, int subtaskIndex)
jid - The job ID.iterationID - The id of the iteration in the job.subtaskIndex - The parallel subtask numberCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.