public class MetricsSample extends Object
Constructor and Description |
---|
MetricsSample() |
Modifier and Type | Method and Description |
---|---|
static MetricsSample |
factory(Nimbus.Iface client,
String topologyName) |
int |
getNumExecutors() |
int |
getNumSupervisors() |
int |
getNumTasks() |
int |
getNumWorkers() |
long |
getSampleTime() |
long |
getSpoutEmitted() |
int |
getSpoutExecutors() |
long |
getSpoutTransferred() |
static TopologySummary |
getTopologySummary(ClusterSummary cs,
String name) |
long |
getTotalAcked() |
long |
getTotalEmitted() |
long |
getTotalFailed() |
double |
getTotalLatency() |
int |
getTotalSlots() |
long |
getTotalTransferred() |
int |
getUsedSlots() |
public static MetricsSample factory(Nimbus.Iface client, String topologyName) throws Exception
Exception
public static TopologySummary getTopologySummary(ClusterSummary cs, String name)
public long getSampleTime()
public long getTotalTransferred()
public long getTotalEmitted()
public long getTotalAcked()
public long getTotalFailed()
public double getTotalLatency()
public long getSpoutEmitted()
public long getSpoutTransferred()
public int getNumSupervisors()
public int getNumWorkers()
public int getNumTasks()
public int getTotalSlots()
public int getSpoutExecutors()
public int getNumExecutors()
public int getUsedSlots()
Copyright © 2022 The Apache Software Foundation. All rights reserved.