Package jline.lang

Class Environment.NodeFailure

java.lang.Object
jline.lang.Environment.NodeFailure
All Implemented Interfaces:
Serializable
Enclosing class:
Environment

public static class Environment.NodeFailure extends Object implements Serializable
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 Details

    • node

      public String node
      Name of the node that breaks down.
    • breakdown

      public Markovian breakdown
      Distribution of the time until breakdown (UP -> DOWN).
    • repair

      public Markovian repair
      Distribution of the repair time (DOWN -> UP), or null when no repair was added.
    • downService

      public Markovian downService
      Service distribution of the node while it is down.
    • breakdownResetPolicy

      public String breakdownResetPolicy
      Named breakdown reset policy: "keep", "clear", or "custom" (not serializable).
    • repairResetPolicy

      public String repairResetPolicy
      Named repair reset policy: "keep", "clear", "custom", or "" when no repair was added.
  • Constructor Details

    • NodeFailure

      public NodeFailure()