|
||||||||||
| 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 |
addDefaultOutput(String id)
Add an output to the default outputs list. |
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 |
changeProbePeriod(String id,
int period)
Set a new value for probe period |
void |
changeTarget(JasmineTarget target)
Change a target. |
String |
createIndicator(JasmineIndicator indic)
Create a new Indicator |
String |
createOutput(JasmineOutput output)
Create a new Output |
String |
createProbe(JasmineProbe probe)
Create a new probe defined by its data |
String |
createTarget(JasmineTarget target)
Create a new target |
JasmineIndicator |
getIndicator(String id)
Get an indicator by its name |
Set<String> |
getIndicatorCurrentUse(String name)
Get the list of probes using this indicator |
List<JasmineIndicator> |
getIndicators()
get the list of all defined indicators. |
JasmineCollectorInfo |
getIndicatorTypeInfo(String type)
Get all infiormation about the type of indicator |
Set<String> |
getIndicatorTypes()
|
JasmineOutput |
getOutput(String id)
Get an Output by its name |
Set<String> |
getOutputCurrentUse(String name)
Get the list of probes using this output |
List<JasminePropertyInfo> |
getOutputPropertyInfos(String type)
get the list of possible properties for Output, depending of its type. |
List<JasmineOutput> |
getOutputs()
get the list of all defined outputs. |
Set<String> |
getOutputTypes()
|
JasmineProbe |
getProbe(String id)
Get a Probe by its name |
List<JasmineProbe> |
getProbes()
|
JasmineTarget |
getTarget(String id)
Get a Target by its name |
List<JasminePropertyInfo> |
getTargetPropertyInfos(String type)
get the list of possible properties for Target, depending of its type. |
List<JasmineTarget> |
getTargets()
get the list of all defined targets. |
Set<String> |
getTargetTypes()
|
String[] |
listDefaultOutputs()
Get the list of the default outputs. |
String[] |
listIndicators(String type)
Get the list of all indicators or of indicators of a given type |
String[] |
listOutputs(String type)
Get the list of all outputs or of outputs having a given type |
String[] |
listProbes()
Get the list of probes |
String[] |
listTargets()
Get the list of targets |
void |
loadConfig(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 |
removeDefaultOutput(String id)
Remove an output from the default outputs list. |
void |
removeIndicator(String name)
remove an indicator |
void |
removeOutput(String name)
remove an output. |
void |
removeProbe(String id)
Remove a probe. |
void |
removeTarget(String name)
remove a target |
void |
saveConfig(String path)
Save the current configuration in the specified xml file |
void |
startAllProbes()
Start all the managed probes. |
void |
startProbe(String id)
Start a probe. |
void |
stopAllProbes()
Stop all the managed probes. |
void |
stopProbe(String id)
Stop a probe. |
| Method Detail |
|---|
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.String[] listIndicators(String type)
type - the given type. If null, get all the indicators.
JasmineIndicator getIndicator(String id)
throws JasmineProbeException
id - indicator identifier.
JasmineProbeExceptionList<JasmineIndicator> getIndicators()
void removeIndicator(String name)
throws JasmineProbeException
name - ident of the indicator to remove
JasmineProbeExceptionSet<String> getIndicatorTypes()
JasmineCollectorInfo getIndicatorTypeInfo(String type)
type - type of the Indicator (Jmx, Lewys, ...)
Set<String> getIndicatorCurrentUse(String name)
throws JasmineProbeException
name - Indicator name
JasmineProbeException - bad parameter
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.
String[] listTargets()
throws JasmineProbeException
JasmineProbeException
JasmineTarget getTarget(String id)
throws JasmineProbeException
id - target identifier.
JasmineProbeExceptionList<JasmineTarget> getTargets()
void removeTarget(String name)
throws JasmineProbeException
name - ident of the target to remove
JasmineProbeExceptionSet<String> getTargetTypes()
List<JasminePropertyInfo> getTargetPropertyInfos(String type)
type - type of the Target (today: only jmx is supported)
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.String[] listOutputs(String type)
type - the given type. If null, get all the outputs.String[] listDefaultOutputs()
void addDefaultOutput(String id)
throws JasmineProbeException
id - output identifier
JasmineProbeException - If there is no output with the given identifier
void removeDefaultOutput(String id)
throws JasmineProbeException
id - output identifier
JasmineProbeException - If there is no output with the given identifier in the default outputs list.
JasmineOutput getOutput(String id)
throws JasmineProbeException
id - output identifier.
JasmineProbeExceptionList<JasmineOutput> getOutputs()
void removeOutput(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.Set<String> getOutputTypes()
List<JasminePropertyInfo> getOutputPropertyInfos(String type)
type - type of the Output (console, file, ...)
Set<String> getOutputCurrentUse(String name)
throws JasmineProbeException
name - Output name
JasmineProbeException - bad parameter
String createProbe(JasmineProbe probe)
throws JasmineProbeException
probe - probe description
JasmineProbeException
void changeProbe(JasmineProbe probe)
throws JasmineProbeException
probe - probe description
JasmineProbeException
void changeProbePeriod(String id,
int period)
throws JasmineProbeException
id - probe identifier.period - in seconds
JasmineProbeException
void startProbe(String id)
throws JasmineProbeException
id - probe identifier.
JasmineProbeException - the probe could not be started.
void stopProbe(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(String id)
throws JasmineProbeException
id - probe identifier.
JasmineProbeException
void removeAllProbes()
throws JasmineProbeException
JasmineProbeException
String[] listProbes()
throws JasmineProbeException
JasmineProbeException
JasmineProbe getProbe(String id)
throws JasmineProbeException
id - probe identifier.
JasmineProbeExceptionList<JasmineProbe> getProbes()
void saveConfig(String path)
throws JasmineProbeException
path - the xml file, or null if saved in the default configuration file.
JasmineProbeException
void loadConfig(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 | |||||||||