public class StatisticArchive<T> extends Object implements SampleSink<Timestamped<T>>
Constructor and Description |
---|
StatisticArchive(int size) |
StatisticArchive(int size,
SampleSink<? super Timestamped<T>> overspill) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Timestamped<T> object) |
void |
clear() |
List<Timestamped<T>> |
getArchive() |
void |
setCapacity(int samples) |
public StatisticArchive(int size)
public StatisticArchive(int size, SampleSink<? super Timestamped<T>> overspill)
public void setCapacity(int samples)
public void accept(Timestamped<T> object)
accept
in interface SampleSink<Timestamped<T>>
public void clear()
public List<Timestamped<T>> getArchive()
Copyright © 2018. All rights reserved.