public static final class Stats.LatencyManager extends Object implements IStats.Latencies
IStats.Series.Collector, IStats.Series.TypePROP_LATENCY_MANAGER_SAMPLE_SIZEPROP_SERIES_SAMPLE_SIZE, PROP_SERIES_SAMPLE_SIZE_DEFAULT| Constructor and Description |
|---|
LatencyManager(String name)
Construct using name to describe the latencies stored
|
LatencyManager(String name,
int sampleSize)
Construct using name to describe the latencies stored
|
| Modifier and Type | Method and Description |
|---|---|
long |
add(double val)
Implementation of
IStats.Series.add(double) |
void |
compute()
Compute latency statistics.
|
void |
compute(double multiplier)
Compute latency statistics.
|
long |
count()
Get the number of latency entries added so far
|
long |
get(IStats.Series.Collector collector,
cern.colt.list.DoubleArrayList temp,
long minSeqNo)
Implementation of
IStats.Latencies#get(Collector, DoubleArrayList, long} |
void |
get(StringBuilder sb)
Format stats for output
|
void |
get(StringBuilder sb,
boolean csv)
Format stats for output
|
void |
get(StringBuilder sb,
NumberFormat format)
Implementation of
IStats.Latencies#get(StringBuilder, NumberFormat} |
String |
getName()
Implementation of
IStats.Series.getName() |
XString |
getNameAsRaw()
Implementation of
IStats.Series.getNameAsRaw() |
IStats.Series.Type |
getType()
Implementation of
IStats.Series.getType() |
double |
max()
Implementation of
IStats.Series.max() |
double |
mean()
Implementation of
IStats.Series.mean() |
double |
median()
Implementation of
IStats.Series.median() |
double |
min()
Implementation of
IStats.Series.min() |
double |
pct75()
Implementation of
IStats.Series.pct75() |
double |
pct90()
Implementation of
IStats.Series.pct90() |
double |
pct99()
Implementation of
IStats.Series.pct99() |
double |
pct999()
Implementation of
IStats.Series.pct999() |
double |
pct9999()
Implementation of
IStats.Series.pct9999() |
void |
reset()
Implementation of
IStats.Series.reset() |
long |
sample()
Implementation of
IStats.Series.sample() |
long |
sequenceNumber()
Implementation of
IStats.Series.sequenceNumber() |
int |
size()
Implementation of
IStats.Series.size() |
public LatencyManager(String name)
public LatencyManager(String name, int sampleSize)
public final void compute()
compute in interface IStats.Seriespublic final void compute(double multiplier)
public final long count()
public final void get(StringBuilder sb, boolean csv)
public final void get(StringBuilder sb)
public final String getName()
IStats.Series.getName()getName in interface IStats.Seriespublic final XString getNameAsRaw()
IStats.Series.getNameAsRaw()getNameAsRaw in interface IStats.Seriespublic final IStats.Series.Type getType()
IStats.Series.getType()getType in interface IStats.SeriesIStats.Series's IStats.Series.Type.public final int size()
IStats.Series.size()size in interface IStats.Seriespublic final long add(double val)
IStats.Series.add(double)add in interface IStats.Seriesval - the sampled value to record.public final long sequenceNumber()
IStats.Series.sequenceNumber()sequenceNumber in interface IStats.Seriespublic final long sample()
IStats.Series.sample()sample in interface IStats.Seriespublic final double min()
IStats.Series.min()min in interface IStats.Seriespublic final double max()
IStats.Series.max()max in interface IStats.Seriespublic final double mean()
IStats.Series.mean()mean in interface IStats.Seriespublic final double median()
IStats.Series.median()median in interface IStats.Seriespublic final double pct75()
IStats.Series.pct75()pct75 in interface IStats.Seriespublic final double pct90()
IStats.Series.pct90()pct90 in interface IStats.Seriespublic final double pct99()
IStats.Series.pct99()pct99 in interface IStats.Seriespublic final double pct999()
IStats.Series.pct999()pct999 in interface IStats.Seriespublic final double pct9999()
IStats.Series.pct9999()pct9999 in interface IStats.Seriespublic final void get(StringBuilder sb, NumberFormat format)
IStats.Latencies#get(StringBuilder, NumberFormat}get in interface IStats.Seriespublic long get(IStats.Series.Collector collector, cern.colt.list.DoubleArrayList temp, long minSeqNo)
IStats.Latencies#get(Collector, DoubleArrayList, long}get in interface IStats.Seriescollector - The collector to which values will be collected via IStats.Series.Collector.add(long, double)temp - A temporary list into which collected values will be copied.minSeqNo - The minimum sequence number (inclusive) to collect.public final void reset()
IStats.Series.reset()reset in interface IStats.SeriesCopyright © 2019 Neeve Research, LLC. All Rights Reserved.