Package | Description |
---|---|
org.apache.flink.api.common.operators | |
org.apache.flink.connector.testframe.container | |
org.apache.flink.runtime.util | |
org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
org.apache.flink.util | |
org.apache.flink.util.concurrent | |
org.apache.flink.util.function |
Modifier and Type | Method and Description |
---|---|
default Future<Void> |
MailboxExecutor.submit(RunnableWithException command,
String description)
Submits the given command for execution in the future in the mailbox thread and returns a
Future representing that command.
|
default Future<Void> |
MailboxExecutor.submit(RunnableWithException command,
String descriptionFormat,
Object... descriptionArgs)
Submits the given command for execution in the future in the mailbox thread and returns a
Future representing that command.
|
Modifier and Type | Method and Description |
---|---|
void |
FlinkContainers.restartJobManager(RunnableWithException afterFailAction)
Restarts JobManager container.
|
void |
FlinkContainers.restartTaskManager(RunnableWithException afterFailAction)
Restarts all TaskManager containers.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.cache.TreeCache |
ZooKeeperUtils.createTreeCache(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client,
String pathToNode,
RunnableWithException nodeChangeCallback)
Creates a
TreeCache that only observes a specific node. |
Modifier and Type | Method and Description |
---|---|
void |
StreamTaskActionExecutor.run(RunnableWithException runnable) |
void |
StreamTaskActionExecutor.SynchronizedStreamTaskActionExecutor.run(RunnableWithException runnable)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
ExceptionUtils.suppressExceptions(RunnableWithException action) |
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<Void> |
FutureUtils.runAfterwards(CompletableFuture<?> future,
RunnableWithException runnable)
Run the given action after the completion of the given future.
|
static CompletableFuture<Void> |
FutureUtils.runAfterwardsAsync(CompletableFuture<?> future,
RunnableWithException runnable)
Run the given action after the completion of the given future.
|
static CompletableFuture<Void> |
FutureUtils.runAfterwardsAsync(CompletableFuture<?> future,
RunnableWithException runnable,
Executor executor)
Run the given action after the completion of the given future.
|
Modifier and Type | Class and Description |
---|---|
class |
FutureTaskWithException<V>
FutureTask that also implements RunnableWithException . |
Modifier and Type | Method and Description |
---|---|
static <T> Callable<T> |
FunctionUtils.asCallable(RunnableWithException command,
T result)
|
Constructor and Description |
---|
FutureTaskWithException(RunnableWithException command) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.