Class WorkflowExecutor
java.lang.Object
io.nflow.engine.model.ModelObject
io.nflow.engine.workflow.executor.WorkflowExecutor
Describes one workflow executor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.joda.time.DateTimeTime when the executor last updated that it is active.final StringThe executor group of the executor.final org.joda.time.DateTimeTime after which the executor is considered dead.final StringThe host name of the executor.final intUnique identifier of executor instance.final intProcess id of the executor.final org.joda.time.DateTimeTime when the workflow instances of a dead node were recovered.final org.joda.time.DateTimeTime when the executor was started.final org.joda.time.DateTimeTime when the executor was stopped. -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowExecutor(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, org.joda.time.DateTime recovered) Creates a new workflow executor description. -
Method Summary
Methods inherited from class io.nflow.engine.model.ModelObject
equals, hashCode, toString
-
Field Details
-
id
public final int idUnique identifier of executor instance. Each time an executor is started it receives a new identifier. -
host
The host name of the executor. -
pid
public final int pidProcess id of the executor. -
executorGroup
The executor group of the executor. -
started
public final org.joda.time.DateTime startedTime when the executor was started. -
active
public final org.joda.time.DateTime activeTime when the executor last updated that it is active. -
expires
public final org.joda.time.DateTime expiresTime after which the executor is considered dead. -
stopped
public final org.joda.time.DateTime stoppedTime when the executor was stopped. -
recovered
public final org.joda.time.DateTime recoveredTime when the workflow instances of a dead node were recovered.
-
-
Constructor Details
-
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, org.joda.time.DateTime recovered) 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 stoppedrecovered- Time when the workflow instances of a dead node were recovered
-