Package | Description |
---|---|
org.apache.flink.runtime.concurrent | |
org.apache.flink.streaming.api.operators | |
org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
org.apache.flink.util | |
org.apache.flink.util.function |
Modifier and Type | Class and Description |
---|---|
class |
FutureTaskWithException<V>
FutureTask that also implements RunnableWithException . |
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.
|
Constructor and Description |
---|
FutureTaskWithException(RunnableWithException command) |
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 |
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 <T> Callable<T> |
FunctionUtils.asCallable(RunnableWithException command,
T result)
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.