com.facebook.common.executors.HandlerExecutorService |
Known Indirect Subclasses
|
Class Overview
An ExecutorService that is backed by a handler.
Summary
Public Methods |
abstract
boolean
|
isHandlerThread()
Check if we are currently in the handler thread of this HandlerExecutorService.
|
abstract
void
|
quit()
Quit the handler
|
[Expand]
Inherited Methods |
From interface
java.util.concurrent.Executor
abstract
void
|
execute(Runnable arg0)
|
|
From interface
java.util.concurrent.ExecutorService
abstract
boolean
|
awaitTermination(long arg0, TimeUnit arg1)
|
abstract
<T>
List<Future<T>>
|
invokeAll(Collection<? extends Callable<T>> arg0)
|
abstract
<T>
List<Future<T>>
|
invokeAll(Collection<? extends Callable<T>> arg0, long arg1, TimeUnit arg2)
|
abstract
<T>
T
|
invokeAny(Collection<? extends Callable<T>> arg0)
|
abstract
<T>
T
|
invokeAny(Collection<? extends Callable<T>> arg0, long arg1, TimeUnit arg2)
|
abstract
boolean
|
isShutdown()
|
abstract
boolean
|
isTerminated()
|
abstract
void
|
shutdown()
|
abstract
List<Runnable>
|
shutdownNow()
|
abstract
<T>
Future<T>
|
submit(Callable<T> arg0)
|
abstract
<T>
Future<T>
|
submit(Runnable arg0, T arg1)
|
abstract
Future<?>
|
submit(Runnable arg0)
|
|
From interface
java.util.concurrent.ScheduledExecutorService
abstract
<V>
ScheduledFuture<V>
|
schedule(Callable<V> arg0, long arg1, TimeUnit arg2)
|
abstract
ScheduledFuture<?>
|
schedule(Runnable arg0, long arg1, TimeUnit arg2)
|
abstract
ScheduledFuture<?>
|
scheduleAtFixedRate(Runnable arg0, long arg1, long arg2, TimeUnit arg3)
|
abstract
ScheduledFuture<?>
|
scheduleWithFixedDelay(Runnable arg0, long arg1, long arg2, TimeUnit arg3)
|
|
Public Methods
public
abstract
boolean
isHandlerThread
()
Check if we are currently in the handler thread of this HandlerExecutorService.
public
abstract
void
quit
()