|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.mturk.service.axis.WorkQueue
public class WorkQueue
Axis work queue that controls the calls to the service endpoint using a thread pool
| Constructor Summary | |
|---|---|
WorkQueue()
|
|
| Method Summary | |
|---|---|
static int |
getNumberOfCompletedRequests()
Returns the number of requests completed in the work queue |
static int |
getNumberOfPendingRequests()
Returns the current number of pending requests in the queue |
static int |
getNumberOfThreads()
Returns the number of worker threads |
static AsyncReply |
submit(AsyncRequest request)
Submits a request to the work queue for execution against the requester service endpoint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkQueue()
| Method Detail |
|---|
public static AsyncReply submit(AsyncRequest request)
public static int getNumberOfPendingRequests()
public static int getNumberOfCompletedRequests()
public static int getNumberOfThreads()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||