Class ElementsPerSecond

java.lang.Object
de.robertmetzger.flink.utils.performance.ElementsPerSecond
All Implemented Interfaces:
Serializable

public class ElementsPerSecond extends Object implements Serializable
Utility for controlling the number of elements to process / emit per second.
See Also:
Serialized Form
  • Constructor Details

    • ElementsPerSecond

      public ElementsPerSecond(long eps)
      Create a rate limiter.
      Parameters:
      eps - elements per second
  • Method Details