Class WorkflowExecutor


  • public class WorkflowExecutor
    extends ModelObject
    Describes one workflow executor.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.joda.time.DateTime active
      Time when the executor last updated that it is active.
      String executorGroup
      The executor group of the executor.
      org.joda.time.DateTime expires
      Time after which the executor is considered dead.
      String host
      The host name of the executor.
      int id
      Unique identifier of executor instance.
      int pid
      Process id of the executor.
      org.joda.time.DateTime started
      Time when the executor was started.
      org.joda.time.DateTime stopped
      Time when the executor was stopped.
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkflowExecutor​(int id, String host, int pid, String executorGroup, org.joda.time.DateTime started, org.joda.time.DateTime active, org.joda.time.DateTime expires, org.joda.time.DateTime stopped)
      Creates a new workflow executor description.
    • Field Detail

      • id

        public final int id
        Unique identifier of executor instance. Each time an executor is started it receives a new identifier.
      • host

        public final String host
        The host name of the executor.
      • pid

        public final int pid
        Process id of the executor.
      • executorGroup

        public final String executorGroup
        The executor group of the executor.
      • started

        public final org.joda.time.DateTime started
        Time when the executor was started.
      • active

        public final org.joda.time.DateTime active
        Time when the executor last updated that it is active.
      • expires

        public final org.joda.time.DateTime expires
        Time after which the executor is considered dead.
      • stopped

        public final org.joda.time.DateTime stopped
        Time when the executor was stopped.
    • Constructor Detail

      • WorkflowExecutor

        public WorkflowExecutor​(int id,
                                String host,
                                int pid,
                                String executorGroup,
                                org.joda.time.DateTime started,
                                org.joda.time.DateTime active,
                                org.joda.time.DateTime expires,
                                org.joda.time.DateTime stopped)
        Creates a new workflow executor description.
        Parameters:
        id - Unique identifier of executor instance
        host - The host name of the executor
        pid - Process id of the executor
        executorGroup - The executor group of the executor
        started - Time when the executor was started
        active - Time when the executor last updated that it is active
        expires - Time after which the executor is considered dead
        stopped - Time when the executor was stopped