public class TaskExecutorToServiceAdapter extends Object implements TaskManagerRunner.TaskExecutorService
TaskExecutor to adapt to TaskManagerRunner.TaskExecutorService.| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
closeAsync() |
static TaskExecutorToServiceAdapter |
createFor(TaskExecutor taskExecutor) |
CompletableFuture<Void> |
getTerminationFuture() |
void |
start() |
public void start()
start in interface TaskManagerRunner.TaskExecutorServicepublic CompletableFuture<Void> getTerminationFuture()
getTerminationFuture in interface TaskManagerRunner.TaskExecutorServicepublic CompletableFuture<Void> closeAsync()
closeAsync in interface org.apache.flink.util.AutoCloseableAsyncpublic static TaskExecutorToServiceAdapter createFor(TaskExecutor taskExecutor)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.