Package | Description |
---|---|
com.j256.simplemetrics.persister |
Classes which handle the persisting of the metrics.
|
com.j256.simplemetrics.utils |
Utility classes including ones that publish metrics from the JVM and the file-system.
|
Modifier and Type | Method and Description |
---|---|
void |
MetricsPersisterJob.setMetricsManager(MetricsManager metricsManager) |
Constructor and Description |
---|
MetricsPersisterJob(MetricsManager metricsManager,
long delayTimeMillis,
long periodTimeMillis,
boolean daemonThread)
Create the MetricsPersisterThread and calls
MetricsPersisterJob.initialize() . |
Modifier and Type | Method and Description |
---|---|
void |
SystemMetricsPublisher.setMetricsManager(MetricsManager metricsManager)
Required metrics manager that manages the metrics we create here.
|
void |
FileMetricsPublisher.setMetricsManager(MetricsManager metricsManager)
Metrics manager that we add our metrics to.
|
Constructor and Description |
---|
FileMetricsPublisher(MetricsManager metricsManager,
List<FileMetric> fileMetrics)
Constructs our publisher and calls
FileMetricsPublisher.initialize() . |
SystemMetricsPublisher(MetricsManager metricsManager)
Constructs our publisher and calls
SystemMetricsPublisher.initialize() . |
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.