|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JProbeManagerMXBean
MXBean for JASMINe Probe Manager. MXBean interface can be in a different package than implementation, and the implementation may have a different name.
| Method Summary | |
|---|---|
java.lang.String |
createIndicator(JasmineIndicator indic)
Create a new Indicator |
java.lang.String |
createOutput(JasmineOutput output)
Create a new Output |
java.lang.String |
createProbe(JasmineProbe probe)
Create a new probe defined by its data |
java.lang.String |
createTarget(JasmineTarget target)
Create a new target |
JasmineIndicator |
getIndicator(java.lang.String id)
Get an indicator by its name |
java.util.Set<java.lang.String> |
getIndicatorTypes()
|
JasmineOutput |
getOutput(java.lang.String id)
Get an Output by its name |
java.util.Set<java.lang.String> |
getOutputTypes()
|
JasmineProbe |
getProbe(java.lang.String id)
Get a Probe by its name |
JasmineTarget |
getTarget(java.lang.String id)
Get a Target by its name |
java.lang.String[] |
listIndicators()
Get the list of indicators |
java.lang.String[] |
listOutputs()
Get the list of outputs |
java.lang.String[] |
listProbes()
Get the list of probes |
java.lang.String[] |
listTargets()
Get the list of targets |
void |
loadConfig(java.lang.String path)
Load the specified xml configuration file The configuration will be merged with the current one. |
void |
removeAllProbes()
Remove all the managed probes. |
void |
removeIndicator(java.lang.String name)
remove an indicator |
void |
removeOutput(java.lang.String name)
remove an output. |
void |
removeProbe(java.lang.String id)
Remove a probe. |
void |
removeTarget(java.lang.String name)
remove a target |
void |
saveConfig(java.lang.String path)
Save the current configuration in the specified xml file |
void |
startAllProbes()
Start all the managed probes. |
void |
startProbe(java.lang.String id)
Start a probe. |
void |
stopAllProbes()
Stop all the managed probes. |
void |
stopProbe(java.lang.String id)
Stop a probe. |
| Method Detail |
|---|
java.lang.String createIndicator(JasmineIndicator indic)
throws JasmineProbeException
indic - indicator description
JasmineProbeException
java.lang.String[] listIndicators()
throws JasmineProbeException
JasmineProbeException
JasmineIndicator getIndicator(java.lang.String id)
throws JasmineProbeException
id - indicator identifier.
JasmineProbeException
void removeIndicator(java.lang.String name)
throws JasmineProbeException
name - ident of the indicator to remove
JasmineProbeExceptionjava.util.Set<java.lang.String> getIndicatorTypes()
java.lang.String createTarget(JasmineTarget target)
throws JasmineProbeException
target - target description
JasmineProbeException
java.lang.String[] listTargets()
throws JasmineProbeException
JasmineProbeException
JasmineTarget getTarget(java.lang.String id)
throws JasmineProbeException
id - target identifier.
JasmineProbeException
void removeTarget(java.lang.String name)
throws JasmineProbeException
name - ident of the target to remove
JasmineProbeException
java.lang.String createOutput(JasmineOutput output)
throws JasmineProbeException
output - output description
JasmineProbeException
java.lang.String[] listOutputs()
throws JasmineProbeException
JasmineProbeException
JasmineOutput getOutput(java.lang.String id)
throws JasmineProbeException
id - output identifier.
JasmineProbeException
void removeOutput(java.lang.String name)
throws JasmineProbeException
name - ident of the output to remove
JasmineProbeException - is thrown if the output does not exist,
or if it is used by a running probe.java.util.Set<java.lang.String> getOutputTypes()
java.lang.String createProbe(JasmineProbe probe)
throws JasmineProbeException
probe - probe description
JasmineProbeException
void startProbe(java.lang.String id)
throws JasmineProbeException
id - probe identifier.
JasmineProbeException - the probe could not be started.
void stopProbe(java.lang.String id)
throws JasmineProbeException
id - probe identifier.
JasmineProbeException - the probe could not be stopped.
void startAllProbes()
throws JasmineProbeException
JasmineProbeException
void stopAllProbes()
throws JasmineProbeException
JasmineProbeException
void removeProbe(java.lang.String id)
throws JasmineProbeException
id - probe identifier.
JasmineProbeException
void removeAllProbes()
throws JasmineProbeException
JasmineProbeException
java.lang.String[] listProbes()
throws JasmineProbeException
JasmineProbeException
JasmineProbe getProbe(java.lang.String id)
throws JasmineProbeException
id - probe identifier.
JasmineProbeException
void saveConfig(java.lang.String path)
throws JasmineProbeException
path - the xml file, or null if saved in the default configuration file.
JasmineProbeException
void loadConfig(java.lang.String path)
throws JasmineProbeException
path - the xml file, or null if load the default configuration file.
JasmineProbeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||