Summary
Public Methods |
synchronized
void
|
execute(Runnable runnable)
Synchronized override of execute(Runnable) to ensure that
view of memory is consistent between different threads executing tasks serially.
|
[Expand]
Inherited Methods |
From class
com.facebook.common.executors.ConstrainedExecutorService
|
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
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)
|
|
Public Constructors
public
DefaultSerialExecutorService
(Executor executor)
Public Methods
public
synchronized
void
execute
(Runnable runnable)
Synchronized override of execute(Runnable)
to ensure that
view of memory is consistent between different threads executing tasks serially.
Parameters
runnable |
The task to be executed.
|