public abstract class GenericDataCollector extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_DATA_POINTS |
static int |
MIN_DATA_POINTS |
| Constructor and Description |
|---|
GenericDataCollector(String momURL,
String momPort) |
| Modifier and Type | Method and Description |
|---|---|
abstract MetricDataCollectionHelper |
fetchAllMetricData(String agentRegex,
String metricRegex,
long startTimeInMS,
long endTimeInMS) |
abstract MetricDataCollectionHelper |
fetchLastNMetricData(String agentRegex,
String metricRegex,
long frequencyInSec,
long startTimeInMS,
long endTimeInMS,
int numbDPToCollect) |
static boolean |
testMomConnection(String momURL,
String momPort) |
static String |
testRegex(String momHost,
String port,
String username,
String agentPath,
String metricPath) |
public static final int MAX_DATA_POINTS
public static final int MIN_DATA_POINTS
public static String testRegex(String momHost, String port, String username, String agentPath, String metricPath)
public abstract MetricDataCollectionHelper fetchLastNMetricData(String agentRegex, String metricRegex, long frequencyInSec, long startTimeInMS, long endTimeInMS, int numbDPToCollect)
public abstract MetricDataCollectionHelper fetchAllMetricData(String agentRegex, String metricRegex, long startTimeInMS, long endTimeInMS)
Copyright © 2004-2016. All Rights Reserved.