|
||||||||||
| 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 | |
|---|---|
void |
changeIndicator(JasmineIndicator indic)
Change an indicator. |
void |
changeOutput(JasmineOutput output)
Change an output. |
void |
changeProbe(JasmineProbe probe)
Change a Probe with new parameters |
void |
changeTarget(JasmineTarget target)
Change a target. |
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> |
getIndicatorCurrentUse(java.lang.String name)
Get the list of probes using this indicator |
java.util.List<JasminePropertyInfo> |
getIndicatorPropertyInfos(java.lang.String type)
get the list of possible properties for Indicator, depending of its type. |
java.util.List<JasmineIndicator> |
getIndicators()
get the list of all defined indicators. |
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> |
getOutputCurrentUse(java.lang.String name)
Get the list of probes using this output |
java.util.List<JasminePropertyInfo> |
getOutputPropertyInfos(java.lang.String type)
get the list of possible properties for Output, depending of its type. |
java.util.List<JasmineOutput> |
getOutputs()
get the list of all defined outputs. |
java.util.Set<java.lang.String> |
getOutputTypes()
|
JasmineProbe |
getProbe(java.lang.String id)
Get a Probe by its name |
java.util.List<JasmineProbe> |
getProbes()
|
JasmineTarget |
getTarget(java.lang.String id)
Get a Target by its name |
java.util.List<JasmineTarget> |
getTargets()
get the list of all defined targets. |
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
void changeIndicator(JasmineIndicator indic)
throws JasmineProbeException
indic - indicator description
JasmineProbeException - is thrown if the indicator does not exist,
or if it is used by a running probe.
java.lang.String[] listIndicators()
throws JasmineProbeException
JasmineProbeException
JasmineIndicator getIndicator(java.lang.String id)
throws JasmineProbeException
id - indicator identifier.
JasmineProbeExceptionjava.util.List<JasmineIndicator> getIndicators()
void removeIndicator(java.lang.String name)
throws JasmineProbeException
name - ident of the indicator to remove
JasmineProbeExceptionjava.util.Set<java.lang.String> getIndicatorTypes()
java.util.List<JasminePropertyInfo> getIndicatorPropertyInfos(java.lang.String type)
type - type of the Indicator (Jmx, Lewys, ...)
java.util.Set<java.lang.String> getIndicatorCurrentUse(java.lang.String name)
throws JasmineProbeException
name - Indicator name
JasmineProbeException - bad parameter
java.lang.String createTarget(JasmineTarget target)
throws JasmineProbeException
target - target description
JasmineProbeException
void changeTarget(JasmineTarget target)
throws JasmineProbeException
target - new target description
JasmineProbeException - is thrown if the target does not exist.
java.lang.String[] listTargets()
throws JasmineProbeException
JasmineProbeException
JasmineTarget getTarget(java.lang.String id)
throws JasmineProbeException
id - target identifier.
JasmineProbeExceptionjava.util.List<JasmineTarget> getTargets()
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
void changeOutput(JasmineOutput output)
throws JasmineProbeException
output - output description
JasmineProbeException - is thrown if the output does not exist,
or if it is used by a running probe.
java.lang.String[] listOutputs()
throws JasmineProbeException
JasmineProbeException
JasmineOutput getOutput(java.lang.String id)
throws JasmineProbeException
id - output identifier.
JasmineProbeExceptionjava.util.List<JasmineOutput> getOutputs()
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.util.List<JasminePropertyInfo> getOutputPropertyInfos(java.lang.String type)
type - type of the Output (console, file, ...)
java.util.Set<java.lang.String> getOutputCurrentUse(java.lang.String name)
throws JasmineProbeException
name - Output name
JasmineProbeException - bad parameter
java.lang.String createProbe(JasmineProbe probe)
throws JasmineProbeException
probe - probe description
JasmineProbeException
void changeProbe(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.
JasmineProbeExceptionjava.util.List<JasmineProbe> getProbes()
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 | |||||||||