public static class LoadMetricsServer.Measurements extends Object
Constructor and Description |
---|
Measurements()
Default Constructor.
|
Measurements(long uptimeSecs,
long acked,
long timeWindow,
long failed,
org.HdrHistogram.Histogram histo,
double userMs,
double sysMs,
double gcMs,
long memBytes,
Set<String> topologyIds,
long workers,
long executors,
long hosts,
Map<String,String> congested,
long skippedMaxSpoutMs,
double uiCompleteLatency)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(LoadMetricsServer.Measurements other)
Add other to this.
|
long |
endTime() |
long |
getAcked() |
double |
getAckedPerSec() |
long |
getCompleted() |
double |
getCompletedPerSec() |
Map<String,String> |
getCongested() |
long |
getExecutors() |
long |
getFailed() |
double |
getGc(TimeUnit unit) |
long |
getHosts() |
double |
getLatencyAtPercentile(double percential,
TimeUnit unit) |
double |
getLatencyStdDeviation(TimeUnit unit) |
double |
getMaxLatency(TimeUnit unit) |
double |
getMeanLatency(TimeUnit unit) |
double |
getMemMb() |
double |
getMinLatency(TimeUnit unit) |
double |
getSkippedMaxSpout(TimeUnit unit) |
double |
getSysTime(TimeUnit unit) |
double |
getTimeWindow() |
Set<String> |
getTopologyIds() |
double |
getUiCompleteLatency(TimeUnit unit) |
long |
getUptimeSecs() |
double |
getUserTime(TimeUnit unit) |
long |
getWorkers() |
long |
startTime() |
public Measurements(long uptimeSecs, long acked, long timeWindow, long failed, org.HdrHistogram.Histogram histo, double userMs, double sysMs, double gcMs, long memBytes, Set<String> topologyIds, long workers, long executors, long hosts, Map<String,String> congested, long skippedMaxSpoutMs, double uiCompleteLatency)
histo
- latency histogram.userMs
- user CPU in ms.sysMs
- system CPU in ms.gcMs
- GC CPU in ms.public Measurements()
public void add(LoadMetricsServer.Measurements other)
other
- meaurements to add in.public double getLatencyAtPercentile(double percential, TimeUnit unit)
public double getMinLatency(TimeUnit unit)
public double getMaxLatency(TimeUnit unit)
public double getMeanLatency(TimeUnit unit)
public double getLatencyStdDeviation(TimeUnit unit)
public double getUiCompleteLatency(TimeUnit unit)
public double getUserTime(TimeUnit unit)
public double getSysTime(TimeUnit unit)
public double getGc(TimeUnit unit)
public double getSkippedMaxSpout(TimeUnit unit)
public double getMemMb()
public long getUptimeSecs()
public long getCompleted()
public double getCompletedPerSec()
public long getAcked()
public double getAckedPerSec()
public long getFailed()
public long startTime()
public long endTime()
public double getTimeWindow()
public long getWorkers()
public long getHosts()
public long getExecutors()
Copyright © 2023 The Apache Software Foundation. All rights reserved.