| Package | Description |
|---|---|
| org.apache.flink.streaming.runtime.io.checkpointing | |
| org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
| Modifier and Type | Method and Description |
|---|---|
static CheckpointBarrierHandler |
InputProcessorUtil.createCheckpointBarrierHandler(org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable toNotifyOnCheckpoint,
StreamConfig config,
SubtaskCheckpointCoordinator checkpointCoordinator,
String taskName,
List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate>[] inputGates,
List<StreamTaskSourceInput<?>> sourceInputs,
MailboxExecutor mailboxExecutor,
TimerService timerService) |
static CheckpointedInputGate |
InputProcessorUtil.createCheckpointedInputGate(org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable toNotifyOnCheckpoint,
StreamConfig config,
SubtaskCheckpointCoordinator checkpointCoordinator,
org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate[] inputGates,
org.apache.flink.runtime.metrics.groups.TaskIOMetricGroup taskIOMetricGroup,
String taskName,
MailboxExecutor mailboxExecutor,
TimerService timerService) |
static CheckpointedInputGate[] |
InputProcessorUtil.createCheckpointedMultipleInputGate(org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable toNotifyOnCheckpoint,
StreamConfig config,
SubtaskCheckpointCoordinator checkpointCoordinator,
org.apache.flink.runtime.metrics.groups.TaskIOMetricGroup taskIOMetricGroup,
String taskName,
MailboxExecutor mailboxExecutor,
List<org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate>[] inputGates,
List<StreamTaskSourceInput<?>> sourceInputs,
TimerService timerService) |
| Modifier and Type | Class and Description |
|---|---|
class |
SystemProcessingTimeService
A
TimerService which assigns as current processing time the result of calling System.currentTimeMillis() and registers timers using a ScheduledThreadPoolExecutor. |
class |
TestProcessingTimeService
This is a
TimerService and ProcessingTimeService used strictly for testing
the processing time functionality. |
| Modifier and Type | Field and Description |
|---|---|
protected TimerService |
StreamTask.systemTimerService
In contrast to
StreamTask.timerService we should not register any user timers here. |
protected TimerService |
StreamTask.timerService
The internal
TimerService used to define the current processing time (default =
System.currentTimeMillis()) and register timers for tasks to be executed in the
future. |
| Constructor and Description |
|---|
OneInputStreamTask(org.apache.flink.runtime.execution.Environment env,
TimerService timeProvider)
Constructor for initialization, possibly with initial state (recovery / savepoint / etc).
|
StreamTask(org.apache.flink.runtime.execution.Environment env,
TimerService timerService)
Constructor for initialization, possibly with initial state (recovery / savepoint / etc).
|
StreamTask(org.apache.flink.runtime.execution.Environment environment,
TimerService timerService,
Thread.UncaughtExceptionHandler uncaughtExceptionHandler) |
StreamTask(org.apache.flink.runtime.execution.Environment environment,
TimerService timerService,
Thread.UncaughtExceptionHandler uncaughtExceptionHandler,
StreamTaskActionExecutor actionExecutor)
Constructor for initialization, possibly with initial state (recovery / savepoint / etc).
|
StreamTask(org.apache.flink.runtime.execution.Environment environment,
TimerService timerService,
Thread.UncaughtExceptionHandler uncaughtExceptionHandler,
StreamTaskActionExecutor actionExecutor,
TaskMailbox mailbox) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.