java.lang.Object | |
↳ | com.ning.http.client.listenable.ExecutionList |
A list of (Runnable
, Executor
) pairs that guarantees
that every Runnable
that is added using the add method will be
executed in its associated Executor
after run()
is called.
Runnable
s added after run
is called are still guaranteed to
execute.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add the runnable/executor pair to the list of pairs to execute.
| |||||||||||
Runs this execution list, executing all pairs in the order they were
added.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Runnable
|
Add the runnable/executor pair to the list of pairs to execute. Executes the pair immediately if we've already started execution.
Runs this execution list, executing all pairs in the order they were added. Pairs added after this method has started executing the list will be executed immediately.