public interface _ProcessorOperations
Modifier and Type | Method and Description |
---|---|
JobParams |
parseJob(java.lang.String session,
Job jobObject,
Ice.Current __current)
Parses a job and returns metadata definition required
for properly submitting the job.
|
ProcessPrx |
processJob(java.lang.String session,
JobParams params,
Job jobObject,
Ice.Current __current)
Starts a process based on the given job
If this processor cannot handle the given job, a
null process will be returned.
|
void |
requestRunning(ProcessorCallbackPrx cb,
Ice.Current __current)
Used by servers to find out what jobs are still active.
|
void |
willAccept(Experimenter userContext,
ExperimenterGroup groupContext,
Job scriptContext,
ProcessorCallbackPrx cb,
Ice.Current __current)
Called by
SharedResources to find a suitable
target for omero.grid.SharedResources.acquireProcessor . |
void willAccept(Experimenter userContext, ExperimenterGroup groupContext, Job scriptContext, ProcessorCallbackPrx cb, Ice.Current __current)
SharedResources
to find a suitable
target for omero.grid.SharedResources.acquireProcessor
.
New processor instances are added to the checklist by using
omero.grid.SharedResources.addProcessor
. All processors
must respond with their session uuid in order to authorize
the action.__current
- The Current object for the invocation.void requestRunning(ProcessorCallbackPrx cb, Ice.Current __current)
ProcessorCallback.responseRunning
__current
- The Current object for the invocation.JobParams parseJob(java.lang.String session, Job jobObject, Ice.Current __current) throws ServerError
processJob
__current
- The Current object for the invocation.ServerError
ProcessPrx processJob(java.lang.String session, JobParams params, Job jobObject, Ice.Current __current) throws ServerError
params
argument
was created by a previously call to parseJob
.__current
- The Current object for the invocation.ServerError