public class MetricsSample extends Object
Constructor and Description |
---|
MetricsSample() |
Modifier and Type | Method and Description |
---|---|
static MetricsSample |
factory(org.apache.storm.LocalCluster localCluster,
String topologyName) |
static MetricsSample |
factory(Nimbus.Client 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.Client client, String topologyName) throws Exception
Exception
public static MetricsSample factory(org.apache.storm.LocalCluster localCluster, 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.