@Internal public class TwoInputStreamTask<IN1,IN2,OUT> extends AbstractTwoInputStreamTask<IN1,IN2,OUT>
StreamTask for executing a TwoInputStreamOperator and supporting the TwoInputStreamOperator to select input for reading.StreamTask.CanEmitBatchOfRecordsCheckerinput1WatermarkGauge, input2WatermarkGauge, minInputWatermarkGaugecheckpointStorage, configuration, inputProcessor, LOG, mailboxProcessor, mainOperator, operatorChain, recordWriter, stateBackend, systemTimerService, timerService, TRIGGER_THREAD_GROUP| Constructor and Description |
|---|
TwoInputStreamTask(org.apache.flink.runtime.execution.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createInputProcessor(List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate> inputGates1,
List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate> inputGates2,
java.util.function.Function<Integer,StreamPartitioner<?>> gatePartitioners) |
StreamTask.CanEmitBatchOfRecordsChecker |
getCanEmitBatchOfRecords() |
protected Optional<CheckpointBarrierHandler> |
getCheckpointBarrierHandler()
Acquires the optional
CheckpointBarrierHandler associated with this stream task. |
initabortCheckpointOnBarrier, advanceToEndOfEventTime, afterInvoke, cancel, cancelTask, cleanUp, cleanUpInternal, createRecordWriterDelegate, createStreamTaskStateInitializer, declineCheckpoint, dispatchOperatorEvent, endData, finalize, getAsyncCheckpointStartDelayNanos, getAsyncOperationsThreadPool, getCancelables, getCheckpointStorage, getCompletionFuture, getConfiguration, getEnvironment, getMailboxExecutorFactory, getName, getProcessingTimeServiceFactory, handleAsyncException, invoke, isCanceled, isFailing, isMailboxLoopRunning, isRunning, isUsingNonBlockingInput, maybeInterruptOnCancel, notifyCheckpointAbortAsync, notifyCheckpointCompleteAsync, notifyCheckpointSubsumedAsync, notifyEndOfData, processInput, restore, runMailboxLoop, runMailboxStep, setSynchronousSavepoint, setupNumRecordsInCounter, toString, triggerCheckpointAsync, triggerCheckpointOnBarrierclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExecutionConfig, getIndexInSubtaskGroup, getJobConfiguration, getUserCodeClassLoaderprotected Optional<CheckpointBarrierHandler> getCheckpointBarrierHandler()
StreamTaskCheckpointBarrierHandler associated with this stream task. The
CheckpointBarrierHandler should exist if the task has data inputs and requires to
align the barriers.getCheckpointBarrierHandler in class StreamTask<OUT,TwoInputStreamOperator<IN1,IN2,OUT>>protected void createInputProcessor(List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate> inputGates1, List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate> inputGates2, java.util.function.Function<Integer,StreamPartitioner<?>> gatePartitioners)
createInputProcessor in class AbstractTwoInputStreamTask<IN1,IN2,OUT>public StreamTask.CanEmitBatchOfRecordsChecker getCanEmitBatchOfRecords()
getCanEmitBatchOfRecords in class StreamTask<OUT,TwoInputStreamOperator<IN1,IN2,OUT>>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.