Package jline.lang
Class Environment.NodeFailure
java.lang.Object
jline.lang.Environment.NodeFailure
- All Implemented Interfaces:
Serializable
- Enclosing class:
Environment
Descriptor of a node breakdown/repair macro applied through
addNodeBreakdown / addNodeRepair.
The stages and transitions of the environment already carry the structure of a
breakdown losslessly. This descriptor additionally records the queue-length reset
policies, which are functions and are otherwise unrecoverable, so that the
breakdown can be serialized declaratively (the nodeFailures JSON key).- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionDistribution of the time until breakdown (UP -> DOWN).Named breakdown reset policy: "keep", "clear", or "custom" (not serializable).Service distribution of the node while it is down.Name of the node that breaks down.Distribution of the repair time (DOWN -> UP), or null when no repair was added.Named repair reset policy: "keep", "clear", "custom", or "" when no repair was added. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
node
Name of the node that breaks down. -
breakdown
Distribution of the time until breakdown (UP -> DOWN). -
repair
Distribution of the repair time (DOWN -> UP), or null when no repair was added. -
downService
Service distribution of the node while it is down. -
breakdownResetPolicy
Named breakdown reset policy: "keep", "clear", or "custom" (not serializable). -
repairResetPolicy
Named repair reset policy: "keep", "clear", "custom", or "" when no repair was added.
-
-
Constructor Details
-
NodeFailure
public NodeFailure()
-