java.lang.Object
org.epics.archiverappliance.engine.model.Throttle

public class Throttle extends Object
Throttle that only permits a certain number of events.
Author:
Kay Kasemir
  • Constructor Details

    • Throttle

      public Throttle(double seconds_between_messages)
      Construct throttle that only allows one event in every time slot.
      Parameters:
      seconds_between_messages -  
  • Method Details

    • getPeriod

      public double getPeriod()
      Returns:
      Event period [seconds]
    • isPermitted

      public boolean isPermitted()
      Returns:
      true if another event is permitted "right now"