Package omero.cmd

Class HandleI

  • All Implemented Interfaces:
    java.lang.Runnable, _HandleOperations, IHandle, SessionAware, CloseableServant

    public class HandleI
    extends java.lang.Object
    implements _HandleOperations, IHandle, SessionAware
    Servant for the handle proxy from the Command API. This is also a Runnable and is passed to a ThreadPool instance
     Transitions:
    
          +------------------o [FINISHED]
          |                        o
          |                        |
     (CREATED) ---o READY o===o RUNNING o===o CANCELLING ---o [CANCELLED]
          |           |                           o                o
          |           |---------------------------|                |
          +--------------------------------------------------------+
    
     
    Since:
    4.3.2
    • Constructor Detail

      • HandleI

        @Deprecated
        public HandleI​(int cancelTimeoutMs)
        Deprecated.
      • HandleI

        public HandleI​(ome.services.util.ReadOnlyStatus readOnly,
                       int cancelTimeoutMs)
        Create a HandleI (at CREATED in the state diagram) with the given cancel timeout in milliseconds.
        Parameters:
        readOnly - the read-only status
        cancelTimeoutMs - the cancel timeout (in milliseconds)