Interface ComponentMainThreadExecutor
-
- All Superinterfaces:
Executor,org.apache.flink.util.concurrent.ScheduledExecutor
- All Known Implementing Classes:
ComponentMainThreadExecutor.DummyComponentMainThreadExecutor,RpcEndpoint.MainThreadExecutor
public interface ComponentMainThreadExecutor extends org.apache.flink.util.concurrent.ScheduledExecutorInterface for an executor that runs tasks in the main thread of anRpcEndpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComponentMainThreadExecutor.DummyComponentMainThreadExecutorDummy implementation of ComponentMainThreadExecutor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassertRunningInMainThread()Returns true if the method was called in the thread of this executor.
-