public interface FencedMainThreadExecutable extends MainThreadExecutable
MainThreadExecutable interface which allows to run unfenced runnables
in the main thread.| Modifier and Type | Method and Description |
|---|---|
<V> CompletableFuture<V> |
callAsyncWithoutFencing(Callable<V> callable,
org.apache.flink.api.common.time.Time timeout)
Run the given callable in the main thread without attaching a fencing token.
|
void |
runAsyncWithoutFencing(Runnable runnable)
Run the given runnable in the main thread without attaching a fencing token.
|
callAsync, runAsync, scheduleRunAsyncvoid runAsyncWithoutFencing(Runnable runnable)
runnable - to run in the main thread without validating the fencing token.<V> CompletableFuture<V> callAsyncWithoutFencing(Callable<V> callable, org.apache.flink.api.common.time.Time timeout)
V - type of the callable resultcallable - to run in the main thread without validating the fencing token.timeout - for the operationCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.