Class WorkflowExecutor
- java.lang.Object
-
- io.nflow.engine.model.ModelObject
-
- io.nflow.engine.workflow.executor.WorkflowExecutor
-
public class WorkflowExecutor extends ModelObject
Describes one workflow executor.
-
-
Field Summary
Fields Modifier and Type Field Description org.joda.time.DateTimeactiveTime when the executor last updated that it is active.StringexecutorGroupThe executor group of the executor.org.joda.time.DateTimeexpiresTime after which the executor is considered dead.StringhostThe host name of the executor.intidUnique identifier of executor instance.intpidProcess id of the executor.org.joda.time.DateTimestartedTime when the executor was started.org.joda.time.DateTimestoppedTime 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 instancehost- The host name of the executorpid- Process id of the executorexecutorGroup- The executor group of the executorstarted- Time when the executor was startedactive- Time when the executor last updated that it is activeexpires- Time after which the executor is considered deadstopped- Time when the executor was stopped
-
-