java.lang.Object |
↳ |
java.util.concurrent.AbstractExecutorService |
|
↳ |
com.facebook.common.executors.HandlerExecutorServiceImpl |
Known Direct Subclasses
|
Summary
Public Methods |
boolean
|
awaitTermination(long timeout, TimeUnit unit)
|
void
|
execute(Runnable command)
|
boolean
|
isHandlerThread()
Check if we are currently in the handler thread of this HandlerExecutorService.
|
boolean
|
isShutdown()
|
boolean
|
isTerminated()
|
void
|
quit()
Quit the handler
|
<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)
|
void
|
shutdown()
|
List<Runnable>
|
shutdownNow()
|
ScheduledFuture<?>
|
submit(Runnable task)
|
<T>
ScheduledFuture<T>
|
submit(Callable<T> task)
|
<T>
ScheduledFuture<T>
|
submit(Runnable task, T result)
|
[Expand]
Inherited Methods |
From class
java.util.concurrent.AbstractExecutorService
<T>
List<Future<T>>
|
invokeAll(Collection<? extends Callable<T>> arg0)
|
<T>
List<Future<T>>
|
invokeAll(Collection<? extends Callable<T>> arg0, long arg1, TimeUnit arg2)
|
<T>
T
|
invokeAny(Collection<? extends Callable<T>> arg0)
|
<T>
T
|
invokeAny(Collection<? extends Callable<T>> arg0, long arg1, TimeUnit arg2)
|
<T>
RunnableFuture<T>
|
newTaskFor(Runnable arg0, T arg1)
|
<T>
RunnableFuture<T>
|
newTaskFor(Callable<T> arg0)
|
<T>
Future<T>
|
submit(Callable<T> arg0)
|
<T>
Future<T>
|
submit(Runnable arg0, T arg1)
|
Future<?>
|
submit(Runnable arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.facebook.common.executors.HandlerExecutorService
abstract
boolean
|
isHandlerThread()
Check if we are currently in the handler thread of this HandlerExecutorService.
|
abstract
void
|
quit()
Quit the handler
|
|
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 Constructors
public
HandlerExecutorServiceImpl
(Handler handler)
Public Methods
public
boolean
awaitTermination
(long timeout, TimeUnit unit)
public
void
execute
(Runnable command)
public
boolean
isHandlerThread
()
Check if we are currently in the handler thread of this HandlerExecutorService.
public
boolean
isShutdown
()
public
boolean
isTerminated
()
public
ScheduledFuture<V>
schedule
(Callable<V> callable, long delay, TimeUnit unit)
public
ScheduledFuture<?>
schedule
(Runnable command, long delay, TimeUnit unit)
public
ScheduledFuture<?>
scheduleAtFixedRate
(Runnable command, long initialDelay, long period, TimeUnit unit)
public
ScheduledFuture<?>
scheduleWithFixedDelay
(Runnable command, long initialDelay, long delay, TimeUnit unit)
public
List<Runnable>
shutdownNow
()
public
ScheduledFuture<?>
submit
(Runnable task)
public
ScheduledFuture<T>
submit
(Callable<T> task)
public
ScheduledFuture<T>
submit
(Runnable task, T result)
Protected Methods