| |
|
| java.lang.Object org.ofbiz.service.GenericResultWaiter
SERVICE_FAILED | final public static int SERVICE_FAILED(Code) | | Status code for a failed service
|
SERVICE_FINISHED | final public static int SERVICE_FINISHED(Code) | | Status code for a successful service
|
SERVICE_RUNNING | final public static int SERVICE_RUNNING(Code) | | Status code for a running service
|
getResult | public synchronized Map getResult()(Code) | | Gets the results of the service or null if none
Map |
getThrowable | public synchronized Throwable getThrowable()(Code) | | Returns the exception which was thrown or null if none
Exception |
isCompleted | public synchronized boolean isCompleted()(Code) | | If the service has completed return true
boolean |
status | public synchronized int status()(Code) | | Returns the status of the service.
int Status code |
waitForResult | public synchronized Map waitForResult()(Code) | | Waits for the service to complete
Map |
waitForResult | public synchronized Map waitForResult(long milliseconds)(Code) | | Waits for the service to complete, check the status ever n milliseconds
Parameters: milliseconds - Map |
|
|
|