A thread spooler for asynchronous sending of HTTP requests. This class is for internal usage.
More...
|
| RestSpooler () |
|
| RestSpooler (Listener listener) |
|
int | request (Opts opts, String method, String action, String path, String body, RestCallback cb) |
|
int | request (Opts opts, String method, String path, String body, RestCallback cb) |
|
int | request (final Request request, final int timeout, final RestCallback cb) |
|
RestJob | getJobOf (int id) |
|
| RefSpooler () |
|
| RefSpooler (Listener listener) |
|
void | ref () |
|
void | unref () |
|
| Spooler () |
|
| Spooler (Listener l) |
|
boolean | isStarted () |
|
boolean | isStopped () |
|
boolean | isQuitting () |
|
synchronized boolean | isAlive () |
|
boolean | isPaused () |
|
boolean | isEmpty () |
|
int | size () |
|
boolean | getClearOnStop () |
|
void | setClearOnStop (boolean clearOnStop) |
|
long | idThread () |
|
boolean | isThisThread () |
|
synchronized boolean | start () |
|
synchronized boolean | stop () |
|
boolean | pause () |
|
boolean | resume () |
|
void | clear () |
|
int | exec (Runnable job) |
|
boolean | cancel (int id) |
|
Runnable | getJobOf (int id) |
|
boolean | waitFor (int id) |
|
boolean | waitFor (int id, long timeout) |
|
boolean | waitForIdle () |
|
boolean | waitForIdle (long timeout) |
|
boolean | waitForStop () |
|
boolean | waitForStop (long timeout) |
|
void | onIdle () |
|
void | run () |
|
| MetaListener () |
|
| MetaListener (Listener l) |
|
Listener | getListener () |
|
void | setListener (Listener l) |
|
void | onStart () |
|
void | onStop () |
|
void | onPause () |
|
void | onResume () |
|
void | onReady () |
|
void | onIdle () |
|
void | onEvt (Object evt, Object value) |
|
void | onErr (Throwable t) |
|
A thread spooler for asynchronous sending of HTTP requests. This class is for internal usage.