Version: 5.3.3-ice35-b63
|
Client facing interface to the background processing framework. If a user needs interactivity, one of these processors should be acquired from the ServiceFactory. Otherwise, a Job can be submitted via JobHandle.
Returns the system clock time in milliseconds since the epoch at which this processor will be reaped.
Returns the job which defines this processor. This may be only the last job associated with the processor if execute is called multiple times.
Retrieves the parameters needed to be passed in an execution and the results which will be passed back out. This method is guaranteed to return a non-null value or throw an exception.
Executes an instance of the job returned by getJob() using the given map as inputs.
Retrieve the results for the given process. This will throw an ApiUsageException if called before the process has returned. Use either process.poll() or process.wait() or a ProcessCallback to wait for completion before calling. If the user has not overridden or disabled the output values "stdout" and "stderr", these will be filled with the OriginalFile instances uploaded after completion under the key values of the same name.
Sets whether or not cancel will be called on the current Process on stop. If detach is true, then the Process will continue running. Otherwise, Process::cancel will be called, before preparing for another run. false by default
Clears the current execution of model::Job from the processor to prepare for another execution. cancel() will be called on the current Process if detach is set to false.
|