Class TaskExecutorToServiceAdapter
java.lang.Object
org.apache.flink.runtime.taskexecutor.TaskExecutorToServiceAdapter
- All Implemented Interfaces:
AutoCloseable,TaskManagerRunner.TaskExecutorService,org.apache.flink.util.AutoCloseableAsync
public class TaskExecutorToServiceAdapter
extends Object
implements TaskManagerRunner.TaskExecutorService
Simple adapter for
TaskExecutor to adapt to TaskManagerRunner.TaskExecutorService.-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskExecutorToServiceAdaptercreateFor(TaskExecutor taskExecutor) voidstart()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.util.AutoCloseableAsync
close
-
Method Details
-
start
public void start()- Specified by:
startin interfaceTaskManagerRunner.TaskExecutorService
-
getTerminationFuture
- Specified by:
getTerminationFuturein interfaceTaskManagerRunner.TaskExecutorService
-
closeAsync
- Specified by:
closeAsyncin interfaceorg.apache.flink.util.AutoCloseableAsync
-
createFor
-