Package omero.grid
Interface _ProcessCallbackOperationsNC
-
- All Known Subinterfaces:
ProcessCallback
- All Known Implementing Classes:
_ProcessCallbackDisp,_ProcessCallbackTie,ProcessCallbackI
public interface _ProcessCallbackOperationsNCCallback which can be attached to a Process with notification of any of the possible ends-of-life that a Process might experience
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessCancelled(boolean success)cancel() was called on this Process.voidprocessFinished(int returncode)Process terminated normally.voidprocessKilled(boolean success)kill() was called on this Process.
-
-
-
Method Detail
-
processFinished
void processFinished(int returncode)
Process terminated normally. Return code provided. In the case that a non-Blitz process sent a signal (KILL, TERM, ... ), that will represented in the return code.
-
processCancelled
void processCancelled(boolean success)
cancel() was called on this Process. If the Process failed to terminate, argument is false, in which calling kill() is the last resort.
-
processKilled
void processKilled(boolean success)
kill() was called on this Process. If this does not succeed, there is nothing else that Blitz can do to stop its execution.
-
-