Class Station

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Join, Place, ServiceStation, Source

public abstract class Station extends StatefulNode implements Serializable
A node where jobs can spend time stationing there
See Also:
  • Field Details

  • Constructor Details

    • Station

      public Station(String name)
  • Method Details

    • getSchedStrategy

      public SchedStrategy getSchedStrategy()
    • getNumberOfServers

      public int getNumberOfServers()
      Overrides:
      getNumberOfServers in class StatefulNode
    • setNumberOfServers

      public void setNumberOfServers(int numberOfServers)
    • setClassCap

      public void setClassCap(JobClass jobClass, int cap)
    • setChainCapacity

      public void setChainCapacity()
    • getClassCap

      public double getClassCap(JobClass jobClass)
      Overrides:
      getClassCap in class Node
    • getCap

      public double getCap()
      Overrides:
      getCap in class Node
    • setCap

      public void setCap(int cap)
    • isServiceDefined

      public boolean[] isServiceDefined()
    • isServiceDefined

      public boolean isServiceDefined(JobClass j_class)
    • isServiceDisabled

      public boolean[] isServiceDisabled()
    • isServiceDisabled

      public boolean isServiceDisabled(JobClass j_class)
    • getSourceRates

      public List<Object> getSourceRates()
    • getServiceRates

      public List<Object> getServiceRates()
    • isReferenceStation

      public boolean isReferenceStation()
      Overrides:
      isReferenceStation in class Node
    • getDropRule

      public DropStrategy getDropRule(JobClass jobclass)
    • setDropRule

      public void setDropRule(JobClass jobclass, DropStrategy drop)
    • getLimitedLoadDependence

      public Matrix getLimitedLoadDependence()
    • setLimitedLoadDependence

      public void setLimitedLoadDependence(Matrix alpha)
    • getLimitedClassDependence

      public SerializableFunction<Matrix,Double> getLimitedClassDependence()
    • setLimitedClassDependence

      public void setLimitedClassDependence(SerializableFunction<Matrix,Double> gamma)