Package omero.grid
Class _ProcessorTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.grid._ProcessorDisp
-
- omero.grid._ProcessorTie
-
- All Implemented Interfaces:
Ice.Object
,Ice.TieBase
,java.io.Serializable
,java.lang.Cloneable
,_ProcessorOperations
,_ProcessorOperationsNC
,Processor
public class _ProcessorTie extends _ProcessorDisp implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Fields inherited from class omero.grid._ProcessorDisp
__ids
-
Fields inherited from interface omero.grid.Processor
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _ProcessorTie()
_ProcessorTie(_ProcessorOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object rhs)
int
hashCode()
java.lang.Object
ice_delegate()
void
ice_delegate(java.lang.Object delegate)
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 bySharedResources
to find a suitable target foromero.grid.SharedResources.acquireProcessor
.-
Methods inherited from class omero.grid._ProcessorDisp
___parseJob, ___processJob, ___requestRunning, ___willAccept, __dispatch, __readImpl, __writeImpl, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, parseJob, processJob, requestRunning, willAccept
-
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_ProcessorTie
public _ProcessorTie()
-
_ProcessorTie
public _ProcessorTie(_ProcessorOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
parseJob
public JobParams parseJob(java.lang.String session, Job jobObject, Ice.Current __current) throws ServerError
Description copied from interface:_ProcessorOperations
Parses a job and returns metadata definition required for properly submitting the job. This object will be cached by the server, and passed back intoprocessJob
- Specified by:
parseJob
in interface_ProcessorOperations
__current
- The Current object for the invocation.- Throws:
ServerError
-
processJob
public ProcessPrx processJob(java.lang.String session, JobParams params, Job jobObject, Ice.Current __current) throws ServerError
Description copied from interface:_ProcessorOperations
Starts a process based on the given job If this processor cannot handle the given job, a null process will be returned. Theparams
argument was created by a previously call toparseJob
.- Specified by:
processJob
in interface_ProcessorOperations
__current
- The Current object for the invocation.- Throws:
ServerError
-
requestRunning
public void requestRunning(ProcessorCallbackPrx cb, Ice.Current __current)
Description copied from interface:_ProcessorOperations
Used by servers to find out what jobs are still active. Response will be sent toProcessorCallback.responseRunning
- Specified by:
requestRunning
in interface_ProcessorOperations
__current
- The Current object for the invocation.
-
willAccept
public void willAccept(Experimenter userContext, ExperimenterGroup groupContext, Job scriptContext, ProcessorCallbackPrx cb, Ice.Current __current)
Description copied from interface:_ProcessorOperations
Called bySharedResources
to find a suitable target foromero.grid.SharedResources.acquireProcessor
. New processor instances are added to the checklist by usingomero.grid.SharedResources.addProcessor
. All processors must respond with their session uuid in order to authorize the action.- Specified by:
willAccept
in interface_ProcessorOperations
__current
- The Current object for the invocation.
-
-