com.ning.http.client.listenable
public final class ExecutionList extends java.lang.Object implements java.lang.Runnable
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.
Constructor and Description |
---|
ExecutionList() |
public void add(java.lang.Runnable runnable, java.util.concurrent.Executor executor)
public void run()
run
in interface java.lang.Runnable
Copyright © 2014. All Rights Reserved.