| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.runtime.io.checkpointing | |
| org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CheckpointBarrierTracker
The
CheckpointBarrierTracker keeps track of what checkpoint barriers have been received
from which input channels. |
class |
SingleCheckpointBarrierHandler
SingleCheckpointBarrierHandler is used for triggering checkpoint while reading the first
barrier and keeping track of the number of received barriers and consumed barriers. |
| 限定符和类型 | 方法和说明 |
|---|---|
static CheckpointBarrierHandler |
InputProcessorUtil.createCheckpointBarrierHandler(org.apache.flink.runtime.jobgraph.tasks.CheckpointableTask toNotifyOnCheckpoint,
StreamConfig config,
SubtaskCheckpointCoordinator checkpointCoordinator,
String taskName,
List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate>[] inputGates,
List<StreamTaskSourceInput<?>> sourceInputs,
org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor,
TimerService timerService) |
| 限定符和类型 | 方法和说明 |
|---|---|
static CheckpointedInputGate[] |
InputProcessorUtil.createCheckpointedMultipleInputGate(org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor,
List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate>[] inputGates,
org.apache.flink.runtime.metrics.groups.TaskIOMetricGroup taskIOMetricGroup,
CheckpointBarrierHandler barrierHandler,
StreamConfig config) |
| 构造器和说明 |
|---|
CheckpointedInputGate(org.apache.flink.runtime.io.network.partition.consumer.InputGate inputGate,
CheckpointBarrierHandler barrierHandler,
org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor)
Creates a new checkpoint stream aligner.
|
CheckpointedInputGate(org.apache.flink.runtime.io.network.partition.consumer.InputGate inputGate,
CheckpointBarrierHandler barrierHandler,
org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor,
UpstreamRecoveryTracker upstreamRecoveryTracker) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Optional<CheckpointBarrierHandler> |
OneInputStreamTask.getCheckpointBarrierHandler() |
protected Optional<CheckpointBarrierHandler> |
StreamTask.getCheckpointBarrierHandler()
Acquires the optional
CheckpointBarrierHandler associated with this stream task. |
protected Optional<CheckpointBarrierHandler> |
MultipleInputStreamTask.getCheckpointBarrierHandler() |
protected Optional<CheckpointBarrierHandler> |
TwoInputStreamTask.getCheckpointBarrierHandler() |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.