Class AbstractTwoInputStreamTask<IN1,IN2,OUT>
java.lang.Object
org.apache.flink.streaming.runtime.tasks.StreamTask<OUT,TwoInputStreamOperator<IN1,IN2,OUT>>
org.apache.flink.streaming.runtime.tasks.AbstractTwoInputStreamTask<IN1,IN2,OUT>
- All Implemented Interfaces:
CheckpointableTask,CoordinatedTask,TaskInvokable,AsyncExceptionHandler,ContainingTaskDetails
- Direct Known Subclasses:
TwoInputStreamTask
@Internal
public abstract class AbstractTwoInputStreamTask<IN1,IN2,OUT>
extends StreamTask<OUT,TwoInputStreamOperator<IN1,IN2,OUT>>
Abstract class for executing a
TwoInputStreamOperator.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.streaming.runtime.tasks.StreamTask
StreamTask.CanEmitBatchOfRecordsChecker -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final WatermarkGaugeprotected final WatermarkGaugeprotected final MinWatermarkGaugeFields inherited from class org.apache.flink.streaming.runtime.tasks.StreamTask
checkpointStorage, configuration, inputProcessor, LOG, mailboxProcessor, mainOperator, operatorChain, recordWriter, stateBackend, systemTimerService, timerService, TRIGGER_THREAD_GROUP -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for initialization, possibly with initial state (recovery / savepoint / etc). -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidcreateInputProcessor(List<IndexedInputGate> inputGates1, List<IndexedInputGate> inputGates2, Function<Integer, StreamPartitioner<?>> gatePartitioners) voidinit()Methods inherited from class org.apache.flink.streaming.runtime.tasks.StreamTask
abortCheckpointOnBarrier, advanceToEndOfEventTime, afterInvoke, cancel, cancelTask, cleanUp, cleanUpInternal, createRecordWriterDelegate, createStreamTaskStateInitializer, declineCheckpoint, dispatchOperatorEvent, endData, finalize, getAsyncCheckpointStartDelayNanos, getAsyncOperationsThreadPool, getCancelables, getCanEmitBatchOfRecords, getCheckpointBarrierHandler, getCheckpointStorage, getCompletionFuture, getConfiguration, getEnvironment, getMailboxExecutorFactory, getName, getProcessingTimeServiceFactory, handleAsyncException, hasMail, invoke, isCanceled, isFailing, isMailboxLoopRunning, isRunning, isUsingNonBlockingInput, maybeInterruptOnCancel, notifyCheckpointAbortAsync, notifyCheckpointCompleteAsync, notifyCheckpointSubsumedAsync, notifyEndOfData, processInput, restore, runMailboxLoop, runMailboxStep, runSingleMailboxLoop, setSynchronousSavepoint, setupNumRecordsInCounter, toString, triggerCheckpointAsync, triggerCheckpointOnBarrierMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.runtime.tasks.ContainingTaskDetails
getExecutionConfig, getIndexInSubtaskGroup, getJobConfiguration, getUserCodeClassLoader
-
Field Details
-
input1WatermarkGauge
-
input2WatermarkGauge
-
minInputWatermarkGauge
-
-
Constructor Details
-
AbstractTwoInputStreamTask
Constructor for initialization, possibly with initial state (recovery / savepoint / etc).- Parameters:
env- The task environment for this task.- Throws:
Exception
-
-
Method Details
-
init
- Specified by:
initin classStreamTask<OUT,TwoInputStreamOperator<IN1, IN2, OUT>> - Throws:
Exception
-
createInputProcessor
protected abstract void createInputProcessor(List<IndexedInputGate> inputGates1, List<IndexedInputGate> inputGates2, Function<Integer, StreamPartitioner<?>> gatePartitioners) throws Exception- Throws:
Exception
-