Package omero.grid

Class ProcessCallbackI

    • Field Detail

      • process

        protected final ProcessPrx process
        Proxy passed to this instance on creation. Can be used by subclasses freely. The object will not be nulled, but may be closed server-side.
    • Method Detail

      • block

        public ProcessCallbackI.Action block​(long ms)
                                      throws java.lang.InterruptedException
        Should only be used if the default logic of the process methods is kept in place. If "q.put" does not get called, this method will always block for the given milliseconds.
        Throws:
        java.lang.InterruptedException
      • processCancelled

        public void processCancelled​(boolean success,
                                     Ice.Current __current)
        Description copied from interface: _ProcessCallbackOperations
        cancel() was called on this Process. If the Process failed to terminate, argument is false, in which calling kill() is the last resort.
        __current - The Current object for the invocation.
      • processFinished

        public void processFinished​(int returncode,
                                    Ice.Current __current)
        Description copied from interface: _ProcessCallbackOperations
        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.
        __current - The Current object for the invocation.
      • processKilled

        public void processKilled​(boolean success,
                                  Ice.Current __current)
        Description copied from interface: _ProcessCallbackOperations
        kill() was called on this Process. If this does not succeed, there is nothing else that Blitz can do to stop its execution.
        __current - The Current object for the invocation.
      • close

        public void close()