org.ow2.jasmine.probe.collectors.jmx.internal
Class JmxCollectorService
java.lang.Object
org.ow2.jasmine.probe.collectors.JCollectorService
org.ow2.jasmine.probe.collectors.jmx.internal.JmxCollectorService
- All Implemented Interfaces:
- org.ow2.jasmine.probe.collector.JasmineCollectorService, org.ow2.jasmine.probe.jmx.JmxBrowserService
public class JmxCollectorService
- extends org.ow2.jasmine.probe.collectors.JCollectorService
- implements org.ow2.jasmine.probe.jmx.JmxBrowserService
This Collector Service creates Jmx Collectors.
- Author:
- durieuxp
| Fields inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
collectorList, logger, properties |
|
Method Summary |
org.ow2.jasmine.probe.collector.JasmineCollector |
getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
int period,
java.lang.String probeid)
Create a Collector for this JasmineIndicator |
void |
start()
|
void |
stop()
|
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
getDependantIndicators, getPropertiesInfo, removeCollectors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_TARGET
public static final java.lang.String PROP_TARGET
- Property names
- See Also:
- Constant Field Values
PROP_MBEAN
public static final java.lang.String PROP_MBEAN
- See Also:
- Constant Field Values
PROP_ATTR
public static final java.lang.String PROP_ATTR
- See Also:
- Constant Field Values
META_SERVER
public static final java.lang.String META_SERVER
- Metadata keys put in values collected
- See Also:
- Constant Field Values
META_DOMAIN
public static final java.lang.String META_DOMAIN
- See Also:
- Constant Field Values
META_URL
public static final java.lang.String META_URL
- See Also:
- Constant Field Values
META_MBEAN
public static final java.lang.String META_MBEAN
- See Also:
- Constant Field Values
DEFAULT_SERVER
public static final java.lang.String DEFAULT_SERVER
- See Also:
- Constant Field Values
DEFAULT_DOMAIN
public static final java.lang.String DEFAULT_DOMAIN
- See Also:
- Constant Field Values
VALUE_ALL
public static final java.lang.String VALUE_ALL
- The value of the PROP_ATTR property meaning that all the
attributes are to be fetched.
- See Also:
- Constant Field Values
JmxCollectorService
public JmxCollectorService()
start
public void start()
stop
public void stop()
getCollector
public org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
int period,
java.lang.String probeid)
throws org.ow2.jasmine.probe.collector.JasmineCollectorException
- Create a Collector for this JasmineIndicator
- Specified by:
getCollector in interface org.ow2.jasmine.probe.collector.JasmineCollectorService- Specified by:
getCollector in class org.ow2.jasmine.probe.collectors.JCollectorService
- Parameters:
indicator - period - in secondprobeid -
- Returns:
- the Collector
- Throws:
org.ow2.jasmine.probe.collector.JasmineCollectorException - operation failed
Copyright © 2011 OW2 Consortium. All Rights Reserved.