public class TaskExecutorToServiceAdapter extends Object implements TaskManagerRunner.TaskExecutorService
TaskExecutor to adapt to TaskManagerRunner.TaskExecutorService.| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<Void> |
closeAsync() |
static TaskExecutorToServiceAdapter |
createFor(TaskExecutor taskExecutor) |
CompletableFuture<Void> |
getTerminationFuture() |
void |
start() |
public void start()
start 在接口中 TaskManagerRunner.TaskExecutorServicepublic CompletableFuture<Void> getTerminationFuture()
public CompletableFuture<Void> closeAsync()
closeAsync 在接口中 org.apache.flink.util.AutoCloseableAsyncpublic static TaskExecutorToServiceAdapter createFor(TaskExecutor taskExecutor)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.