@Internal public class InputProcessorUtil extends Object
CheckpointedInputGate
based on checkpoint mode for StreamOneInputProcessor
and StreamTwoInputProcessor
.Constructor and Description |
---|
InputProcessorUtil() |
public static CheckpointedInputGate createCheckpointedInputGate(AbstractInvokable toNotifyOnCheckpoint, StreamConfig config, SubtaskCheckpointCoordinator checkpointCoordinator, IndexedInputGate[] inputGates, TaskIOMetricGroup taskIOMetricGroup, String taskName, MailboxExecutor mailboxExecutor)
public static CheckpointedInputGate[] createCheckpointedMultipleInputGate(AbstractInvokable toNotifyOnCheckpoint, StreamConfig config, SubtaskCheckpointCoordinator checkpointCoordinator, TaskIOMetricGroup taskIOMetricGroup, String taskName, MailboxExecutor mailboxExecutor, List<IndexedInputGate>[] inputGates, List<StreamTaskSourceInput<?>> sourceInputs)
CheckpointedInputGate
created for corresponding InputGate
s supplied as parameters.public static CheckpointedInputGate[] createCheckpointedMultipleInputGate(MailboxExecutor mailboxExecutor, List<IndexedInputGate>[] inputGates, TaskIOMetricGroup taskIOMetricGroup, CheckpointBarrierHandler barrierHandler, StreamConfig config)
public static CheckpointBarrierHandler createCheckpointBarrierHandler(AbstractInvokable toNotifyOnCheckpoint, StreamConfig config, SubtaskCheckpointCoordinator checkpointCoordinator, String taskName, List<IndexedInputGate>[] inputGates, List<StreamTaskSourceInput<?>> sourceInputs)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.