public class MainContextExecutorService extends AbstractExecutorService implements ScheduledExecutorService
| Constructor and Description |
|---|
MainContextExecutorService(GMainContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long timeout,
TimeUnit units) |
void |
execute(Runnable runnable) |
boolean |
isShutdown() |
boolean |
isTerminated() |
<V> ScheduledFuture<V> |
schedule(Callable<V> callable,
long delay,
TimeUnit units) |
ScheduledFuture<?> |
schedule(Runnable runnable,
long delay,
TimeUnit units) |
ScheduledFuture<?> |
scheduleAtFixedRate(Runnable runnable,
long initialiDelay,
long period,
TimeUnit units) |
ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable runnable,
long initialiDelay,
long delay,
TimeUnit units) |
void |
shutdown() |
List<Runnable> |
shutdownNow() |
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitpublic MainContextExecutorService(GMainContext context)
public boolean awaitTermination(long timeout,
TimeUnit units)
throws InterruptedException
awaitTermination in interface ExecutorServiceInterruptedExceptionpublic boolean isShutdown()
isShutdown in interface ExecutorServicepublic boolean isTerminated()
isTerminated in interface ExecutorServicepublic ScheduledFuture<?> schedule(Runnable runnable, long delay, TimeUnit units)
schedule in interface ScheduledExecutorServicepublic <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit units)
schedule in interface ScheduledExecutorServicepublic ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialiDelay, long period, TimeUnit units)
scheduleAtFixedRate in interface ScheduledExecutorServicepublic ScheduledFuture<?> scheduleWithFixedDelay(Runnable runnable, long initialiDelay, long delay, TimeUnit units)
scheduleWithFixedDelay in interface ScheduledExecutorServicepublic void shutdown()
shutdown in interface ExecutorServicepublic List<Runnable> shutdownNow()
shutdownNow in interface ExecutorServiceCopyright © 2021 gstreamer-java. All rights reserved.