@ManagedResource public class JmxView extends Object implements MonitoringView
Modifier and Type | Class and Description |
---|---|
class |
JmxView.JmxUpdatingMonitor |
Constructor and Description |
---|
JmxView() |
Modifier and Type | Method and Description |
---|---|
CompositeData |
getExposedMetrics() |
boolean |
isRunning() |
void |
startMonitoring(Collection<Monitorable<?>> monitorables)
Instructs the view to begin its work using the set of Monitorable instances
as the basis for whatever it is this 'view' wants to do with it (say, start externalising
the state of the metrics to an external file).
|
void |
stopMonitoring(Collection<Monitorable<?>> monitorables)
Stops monitoring updates on the Monitorables in the provided registry, any
updates to any of the monitorables passed in will no longer be tracked by this View
|
public void startMonitoring(Collection<Monitorable<?>> monitorables)
MonitoringView
MonitoringView.stopMonitoring(java.util.Collection)
before recalling startMonitoring.startMonitoring
in interface MonitoringView
monitorables
- the Collection of metrics to start monitoringpublic void stopMonitoring(Collection<Monitorable<?>> monitorables)
MonitoringView
stopMonitoring
in interface MonitoringView
monitorables
- the Collection of metrics to stop monitoringpublic boolean isRunning()
isRunning
in interface MonitoringView
MonitoringView.startMonitoring(java.util.Collection)
()}@ManagedAttribute(description="All exposed parfait metrics") public CompositeData getExposedMetrics()
Copyright © 2009–2018 Performance Co-Pilot. All rights reserved.