@Internal public class OneInputStreamTask<IN,OUT> extends StreamTask<OUT,OneInputStreamOperator<IN,OUT>>
StreamTask for executing a OneInputStreamOperator.StreamTask.AsyncCheckpointRunnableconfiguration, headOperator, inputProcessor, LOG, mailboxProcessor, operatorChain, stateBackend, timerService, TRIGGER_THREAD_GROUP| Constructor and Description |
|---|
OneInputStreamTask(org.apache.flink.runtime.execution.Environment env)
Constructor for initialization, possibly with initial state (recovery / savepoint / etc).
|
OneInputStreamTask(org.apache.flink.runtime.execution.Environment env,
TimerService timeProvider)
Constructor for initialization, possibly with initial state (recovery / savepoint / etc).
|
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
abortCheckpointOnBarrier, advanceToEndOfEventTime, cancel, cancelTask, cleanup, createRecordWriterDelegate, createStreamTaskStateInitializer, declineCheckpoint, finalize, finishTask, getAccumulatorMap, getAsyncOperationsThreadPool, getCancelables, getCheckpointLock, getCheckpointStorage, getConfiguration, getMailboxExecutorFactory, getName, getProcessingTimeService, getStreamStatusMaintainer, handleAsyncException, handleCheckpointException, invoke, isCanceled, isRunning, notifyCheckpointCompleteAsync, processInput, setupNumRecordsInCounter, toString, triggerCheckpointAsync, triggerCheckpointOnBarrierpublic OneInputStreamTask(org.apache.flink.runtime.execution.Environment env)
env - The task environment for this task.@VisibleForTesting
public OneInputStreamTask(org.apache.flink.runtime.execution.Environment env,
@Nullable
TimerService timeProvider)
This constructor accepts a special TimerService. By default (and if
null is passes for the time provider) a DefaultTimerService
will be used.
env - The task environment for this task.timeProvider - Optionally, a specific time provider to use.public void init()
throws Exception
init in class StreamTask<OUT,OneInputStreamOperator<IN,OUT>>ExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.