| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
| 限定符和类型 | 类和说明 |
|---|---|
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. |
| 限定符和类型 | 字段和说明 |
|---|---|
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. |
| 构造器和说明 |
|---|
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.