Class Downsampler.Sample

java.lang.Object
org.yamcs.http.api.Downsampler.Sample
Enclosing class:
Downsampler

public static class Downsampler.Sample extends Object
A cumulative sample that keeps track of a rolling average among others.
  • Constructor Details

    • Sample

      public Sample(long t, long valueTime, double value, long expireMillis)
  • Method Details

    • process

      public void process(long valueTime, double value, long expireMillis)
    • toString

      public String toString()
      Overrides:
      toString in class Object