public static final class ComponentMainThreadExecutor.DummyComponentMainThreadExecutor extends Object implements ComponentMainThreadExecutor
ComponentMainThreadExecutor.DummyComponentMainThreadExecutor| Constructor and Description |
|---|
DummyComponentMainThreadExecutor(String exceptionMessageOnInvocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertRunningInMainThread()
Returns true if the method was called in the thread of this executor.
|
void |
execute(Runnable command) |
<V> ScheduledFuture<V> |
schedule(Callable<V> callable,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
public DummyComponentMainThreadExecutor(String exceptionMessageOnInvocation)
public void assertRunningInMainThread()
ComponentMainThreadExecutorassertRunningInMainThread in interface ComponentMainThreadExecutorpublic ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule in interface org.apache.flink.util.concurrent.ScheduledExecutorpublic <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
schedule in interface org.apache.flink.util.concurrent.ScheduledExecutorpublic ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate in interface org.apache.flink.util.concurrent.ScheduledExecutorpublic ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
scheduleWithFixedDelay in interface org.apache.flink.util.concurrent.ScheduledExecutorCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.