|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.eos.probemanager.service.ProbeManagerService
public class ProbeManagerService
Server part of the ProbeManager EoS module. Works with a JasmineProbeManager that can be either mbeancmd-osgi or JasmineProbe
| Field Summary | |
|---|---|
protected JasmineListener |
jasmineListener
|
protected org.ow2.jasmine.probe.jmx.JmxBrowserService |
jmxBrowserService
|
protected static org.ow2.util.log.Log |
logger
|
protected org.ow2.jasmine.probe.JasmineProbeManager |
probeService
|
protected ProbeTopicProducer |
producer
|
| Fields inherited from interface org.ow2.kerneos.core.service.KerneosSimpleService |
|---|
ID |
| Method Summary | |
|---|---|
void |
changeProbePeriod(java.lang.String ident,
int period)
Change value of probe period, without stopping the probe if it is running. |
java.util.ArrayList<Probe> |
copyProbe(Probe probe)
copy a Probe |
java.util.ArrayList<ProbeIndicator> |
getIndicators()
Retrieve list of indicators defined on this server |
java.util.ArrayList<org.ow2.jasmine.probe.JasmineCollectorInfo> |
getIndicatorTypes()
Get the list of possible types for an Indicator |
java.util.ArrayList<java.lang.String> |
getMBeans(java.lang.String filter,
ProbeTarget target)
|
java.util.List<org.ow2.jasmine.probe.JasminePropertyInfo> |
getOutputPropertyInfos(java.lang.String type)
Get the list of possible properties for an output type |
java.util.ArrayList<ProbeOutput> |
getOutputs()
Retrieve list of outputs defined on this server |
java.util.ArrayList<java.lang.String> |
getOutputTypes()
Get the list of possible types for an Output |
java.util.ArrayList<Probe> |
getProbes()
Retrieve list of probes defined on this server |
java.util.List<org.ow2.jasmine.probe.JasminePropertyInfo> |
getTargetPropertyInfos(java.lang.String type)
Get the list of possible properties for a target type |
java.util.ArrayList<ProbeTarget> |
getTargets()
Retrieve list of targets defined on this server |
java.util.ArrayList<java.lang.String> |
getTargetTypes()
Get the list of possible types for a Target |
java.util.ArrayList<Probe> |
loadConf(java.lang.String url)
|
java.util.ArrayList<ProbeIndicator> |
modifyIndicator(ProbeIndicator indicator)
modify an indicator |
java.util.ArrayList<ProbeOutput> |
modifyOutput(ProbeOutput output)
modify an Output |
java.util.ArrayList<Probe> |
modifyProbe(Probe probe)
modify a probe |
java.util.ArrayList<ProbeTarget> |
modifyTarget(ProbeTarget target)
modify a Target |
java.util.ArrayList<ProbeIndicator> |
newIndicator(ProbeIndicator indicator)
Create a new indicator |
java.util.ArrayList<ProbeOutput> |
newOutput(ProbeOutput output)
Create a new output |
java.util.ArrayList<Probe> |
newProbe(Probe probe)
Create a new probe |
java.util.ArrayList<ProbeTarget> |
newTarget(ProbeTarget target)
Create a new target |
java.util.ArrayList<Probe> |
removeAllProbes()
|
java.util.ArrayList<ProbeIndicator> |
removeIndicator(java.lang.String name)
Remove an indicator |
java.util.ArrayList<ProbeOutput> |
removeOutput(java.lang.String name)
Remove an output |
java.util.ArrayList<Probe> |
removeProbe(java.lang.String ident)
remove a Probe |
java.util.ArrayList<ProbeTarget> |
removeTarget(java.lang.String name)
Remove a target |
void |
saveConfig()
Save configuration in xml |
void |
startAllProbes()
start all Probes |
void |
startListen(java.lang.String probeId)
Start listening probe results |
void |
startProbe(java.lang.String ident)
start a Probe |
void |
stopAllProbes()
stop all started Probes |
void |
stopListen(java.lang.String probeId)
Stop listening probe results |
void |
stopProbe(java.lang.String ident)
stop a Probe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.ow2.util.log.Log logger
protected JasmineListener jasmineListener
protected ProbeTopicProducer producer
protected org.ow2.jasmine.probe.JasmineProbeManager probeService
protected org.ow2.jasmine.probe.jmx.JmxBrowserService jmxBrowserService
| Method Detail |
|---|
public java.util.ArrayList<ProbeTarget> getTargets()
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeTarget> newTarget(ProbeTarget target)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeTarget> removeTarget(java.lang.String name)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeTarget> modifyTarget(ProbeTarget target)
throws ProbeManagerException
target - value object
ProbeManagerException
public java.util.ArrayList<java.lang.String> getTargetTypes()
throws ProbeManagerException
ProbeManagerException
public java.util.List<org.ow2.jasmine.probe.JasminePropertyInfo> getTargetPropertyInfos(java.lang.String type)
throws ProbeManagerException
type -
ProbeManagerException
public java.util.ArrayList<ProbeIndicator> getIndicators()
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeIndicator> newIndicator(ProbeIndicator indicator)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeIndicator> removeIndicator(java.lang.String name)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeIndicator> modifyIndicator(ProbeIndicator indicator)
throws ProbeManagerException
indicator - value object
ProbeManagerException
public java.util.ArrayList<org.ow2.jasmine.probe.JasmineCollectorInfo> getIndicatorTypes()
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeOutput> getOutputs()
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeOutput> newOutput(ProbeOutput output)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeOutput> removeOutput(java.lang.String name)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<ProbeOutput> modifyOutput(ProbeOutput output)
throws ProbeManagerException
output - value object
ProbeManagerException
public java.util.ArrayList<java.lang.String> getOutputTypes()
throws ProbeManagerException
ProbeManagerException
public java.util.List<org.ow2.jasmine.probe.JasminePropertyInfo> getOutputPropertyInfos(java.lang.String type)
throws ProbeManagerException
type -
ProbeManagerException
public java.util.ArrayList<Probe> newProbe(Probe probe)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<Probe> getProbes()
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<Probe> removeProbe(java.lang.String ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void startProbe(java.lang.String ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void startAllProbes()
throws ProbeManagerException
ProbeManagerException
public void stopProbe(java.lang.String ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void stopAllProbes()
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<Probe> removeAllProbes()
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<Probe> modifyProbe(Probe probe)
throws ProbeManagerException
probe - value object
ProbeManagerException
public void changeProbePeriod(java.lang.String ident,
int period)
throws ProbeManagerException
ident - Probe Identperiod -
ProbeManagerException
public java.util.ArrayList<Probe> copyProbe(Probe probe)
throws ProbeManagerException
probe - Probe to be duplicated
ProbeManagerException
public void saveConfig()
throws ProbeManagerException
ProbeManagerException
public void startListen(java.lang.String probeId)
throws ProbeManagerException
ProbeManagerException
public void stopListen(java.lang.String probeId)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<Probe> loadConf(java.lang.String url)
throws ProbeManagerException
ProbeManagerException
public java.util.ArrayList<java.lang.String> getMBeans(java.lang.String filter,
ProbeTarget target)
throws ProbeManagerException
ProbeManagerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||