public interface OXTaskMgmtInterface
extends java.rmi.Remote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RMI_NAME
RMI name to be used in the naming lookup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteJob(Context ctx,
Credentials auth,
int i)
This method is used to delete finished jobs (jobs != running) from the list
|
void |
flush(Context ctx,
Credentials auth)
Flushes all jobs from the queue which are finished ( != running)
|
java.lang.String |
getJobList(Context ctx,
Credentials cred) |
java.lang.Object |
getTaskResults(Context ctx,
Credentials cred,
int id)
Gets the result from the task with the specified id
|
static final java.lang.String RMI_NAME
java.lang.Object getTaskResults(Context ctx, Credentials cred, int id) throws java.rmi.RemoteException, InvalidCredentialsException, StorageException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, InvalidDataException
ctx - cred - id - java.rmi.RemoteExceptionInvalidCredentialsExceptionStorageExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionInvalidDataExceptionjava.lang.String getJobList(Context ctx, Credentials cred) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException
java.rmi.RemoteExceptionInvalidDataExceptionStorageExceptionInvalidCredentialsExceptionvoid deleteJob(Context ctx, Credentials auth, int i) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException, TaskManagerException
ctx - auth - i - java.rmi.RemoteExceptionInvalidDataExceptionInvalidCredentialsExceptionStorageExceptionTaskManagerExceptionvoid flush(Context ctx, Credentials auth) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException, TaskManagerException
ctx - auth - java.rmi.RemoteExceptionInvalidDataExceptionInvalidCredentialsExceptionStorageExceptionTaskManagerException