Resets the detector so that it considers the next sample independent of previous ones.
Resets the detector so that it considers the next sample independent of previous ones.
Return true when the sample before this one was the last of a run.
Return true when the sample before this one was the last of a run.
a single sample of data type T.
true if sample
belongs to a new run, and false otherwise.
Put consecutive items into buckets based on their characteristics. This can be used to for example put log messages to buckets based on their source or time. It is used in the example program spark.timeseries.BucketLogsByHour.
Call
update()
to signal change of bucket.