Class WicaChannelValueRateLimitingFilter

java.lang.Object
ch.psi.wica.services.channel.WicaChannelValueRateLimitingFilter
All Implemented Interfaces:
WicaChannelValueFilter

@ThreadSafe class WicaChannelValueRateLimitingFilter extends Object implements WicaChannelValueFilter
A filter that returns an output list with values taken from the input list periodically according to the value's timestamp.
  • Constructor Details

    • WicaChannelValueRateLimitingFilter

      WicaChannelValueRateLimitingFilter(long samplingIntervalInMillis)
      Constructs a new instance which returns an output list containing the first input value and then subsequent values taken from the input list after the specified minimum sampling interval.
      Parameters:
      samplingIntervalInMillis - - the minimum time duration between samples.
  • Method Details