|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.probe.collectors.JCollectorService
org.ow2.jasmine.probe.collectors.jmx.internal.JmxCollectorService
public class JmxCollectorService
This Collector Service creates Jmx Collectors.
| Field Summary | |
|---|---|
static String |
DEFAULT_DOMAIN
|
static String |
DEFAULT_SERVER
|
static String |
LONG_DESC
|
static String |
PROP_ATTR
|
static String |
PROP_ATTR_DESC
|
static String |
PROP_MBEAN
|
static String |
PROP_MBEAN_DESC
|
static String |
PROP_TARGET
Properties that can be set when defining a "jmx" indicator |
static String |
PROP_TARGET_DESC
|
static String |
PROP_TEST
|
static String |
SHORT_DESC
Description |
static String |
SOURCE_DESC
Sources |
static int |
SOURCE_MAX
|
static int |
SOURCE_MIN
|
static String |
VALUE_ALL
The value of the PROP_ATTR property meaning that all the attributes are to be fetched. |
| Fields inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
|---|
collectorInfo, logger, properties |
| Constructor Summary | |
|---|---|
JmxCollectorService()
|
|
| Method Summary | |
|---|---|
JasmineCollector |
getCollector(JasmineIndicator indicator,
JasmineProbe probe)
Create a Collector for a given JasmineIndicator used by a JasmineProbe. |
List<String> |
getDependantTargets(JasmineIndicator indic)
Returns the List of targets used by this indicator. |
void |
removeTarget(String targetName)
Removing a target implies to remove the corresponding workers. |
void |
start()
|
void |
stop()
|
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
|---|
addCollector, getCollector, getCollectorInfo, getDependantIndicators, getPropertiesInfo, getType, removeCollectors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SHORT_DESC
public static final String LONG_DESC
public static final String SOURCE_DESC
public static final int SOURCE_MIN
public static final int SOURCE_MAX
public static final String PROP_TARGET
public static final String PROP_TARGET_DESC
public static final String PROP_MBEAN
public static final String PROP_MBEAN_DESC
public static final String PROP_ATTR
public static final String PROP_ATTR_DESC
public static final String PROP_TEST
public static final String DEFAULT_SERVER
public static final String DEFAULT_DOMAIN
public static final String VALUE_ALL
| Constructor Detail |
|---|
public JmxCollectorService()
| Method Detail |
|---|
public void start()
public void stop()
public JasmineCollector getCollector(JasmineIndicator indicator,
JasmineProbe probe)
throws JasmineCollectorException
collectorList
using a key equal to indicatorName + probeName, it will be simply returned.
Moreover, if the JasmineProbe specifies a target that is different from
the one of the current worker, change the worker to the one on the specified target.
getCollector in interface JasmineCollectorServicegetCollector in class JCollectorServiceindicator - a JasmineIndicatorprobe - a JasmineProbe
JasmineCollectorException - operation failedpublic List<String> getDependantTargets(JasmineIndicator indic)
getDependantTargets in interface JasmineCollectorServicegetDependantTargets in class JCollectorServiceindic - JasmineIndicator
public void removeTarget(String targetName)
removeTarget in interface JasmineCollectorServiceremoveTarget in class JCollectorService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||