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 longserialVersionUID-
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 booleanequals(java.lang.Object rhs)inthashCode()java.lang.Objectice_delegate()voidice_delegate(java.lang.Object delegate)JobParamsparseJob(java.lang.String session, Job jobObject, Ice.Current __current)Parses a job and returns metadata definition required for properly submitting the job.ProcessPrxprocessJob(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.voidrequestRunning(ProcessorCallbackPrx cb, Ice.Current __current)Used by servers to find out what jobs are still active.voidwillAccept(Experimenter userContext, ExperimenterGroup groupContext, Job scriptContext, ProcessorCallbackPrx cb, Ice.Current __current)Called bySharedResourcesto 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_delegatein interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegatein interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
parseJob
public JobParams parseJob(java.lang.String session, Job jobObject, Ice.Current __current) throws ServerError
Description copied from interface:_ProcessorOperationsParses 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:
parseJobin 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:_ProcessorOperationsStarts a process based on the given job If this processor cannot handle the given job, a null process will be returned. Theparamsargument was created by a previously call toparseJob.- Specified by:
processJobin interface_ProcessorOperations__current- The Current object for the invocation.- Throws:
ServerError
-
requestRunning
public void requestRunning(ProcessorCallbackPrx cb, Ice.Current __current)
Description copied from interface:_ProcessorOperationsUsed by servers to find out what jobs are still active. Response will be sent toProcessorCallback.responseRunning- Specified by:
requestRunningin 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:_ProcessorOperationsCalled bySharedResourcesto 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:
willAcceptin interface_ProcessorOperations__current- The Current object for the invocation.
-
-