|
|||||||||
| 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(String ident,
int period)
Change value of probe period, without stopping the probe if it is running. |
ArrayList<Probe> |
copyProbe(Probe probe)
copy a Probe |
ArrayList<ProbeIndicator> |
getIndicators()
Retrieve list of indicators defined on this server |
ArrayList<org.ow2.jasmine.probe.JasmineCollectorInfo> |
getIndicatorTypes()
Get the list of possible types for an Indicator |
ArrayList<String> |
getMBeans(String filter,
ProbeTarget target)
|
List<org.ow2.jasmine.probe.JasminePropertyInfo> |
getOutputPropertyInfos(String type)
Get the list of possible properties for an output type |
ArrayList<ProbeOutput> |
getOutputs()
Retrieve list of outputs defined on this server |
ArrayList<String> |
getOutputTypes()
Get the list of possible types for an Output |
ArrayList<Probe> |
getProbes()
Retrieve list of probes defined on this server |
List<org.ow2.jasmine.probe.JasminePropertyInfo> |
getTargetPropertyInfos(String type)
Get the list of possible properties for a target type |
ArrayList<ProbeTarget> |
getTargets()
Retrieve list of targets defined on this server |
ArrayList<String> |
getTargetTypes()
Get the list of possible types for a Target |
ArrayList<Probe> |
loadConf(String url)
|
ArrayList<ProbeIndicator> |
modifyIndicator(ProbeIndicator indicator)
modify an indicator |
ArrayList<ProbeOutput> |
modifyOutput(ProbeOutput output)
modify an Output |
ArrayList<Probe> |
modifyProbe(Probe probe)
modify a probe |
ArrayList<ProbeTarget> |
modifyTarget(ProbeTarget target)
modify a Target |
ArrayList<ProbeIndicator> |
newIndicator(ProbeIndicator indicator)
Create a new indicator |
ArrayList<ProbeOutput> |
newOutput(ProbeOutput output)
Create a new output |
ArrayList<Probe> |
newProbe(Probe probe)
Create a new probe |
ArrayList<ProbeTarget> |
newTarget(ProbeTarget target)
Create a new target |
ArrayList<Probe> |
removeAllProbes()
|
ArrayList<ProbeIndicator> |
removeIndicator(String name)
Remove an indicator |
ArrayList<ProbeOutput> |
removeOutput(String name)
Remove an output |
ArrayList<Probe> |
removeProbe(String ident)
remove a Probe |
ArrayList<ProbeTarget> |
removeTarget(String name)
Remove a target |
void |
saveConfig()
Save configuration in xml |
void |
startAllProbes()
start all Probes |
void |
startListen(String probeId)
Start listening probe results |
void |
startProbe(String ident)
start a Probe |
void |
stopAllProbes()
stop all started Probes |
void |
stopListen(String probeId)
Stop listening probe results |
void |
stopProbe(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 ArrayList<ProbeTarget> getTargets()
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeTarget> newTarget(ProbeTarget target)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeTarget> removeTarget(String name)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeTarget> modifyTarget(ProbeTarget target)
throws ProbeManagerException
target - value object
ProbeManagerException
public ArrayList<String> getTargetTypes()
throws ProbeManagerException
ProbeManagerException
public List<org.ow2.jasmine.probe.JasminePropertyInfo> getTargetPropertyInfos(String type)
throws ProbeManagerException
type -
ProbeManagerException
public ArrayList<ProbeIndicator> getIndicators()
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeIndicator> newIndicator(ProbeIndicator indicator)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeIndicator> removeIndicator(String name)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeIndicator> modifyIndicator(ProbeIndicator indicator)
throws ProbeManagerException
indicator - value object
ProbeManagerException
public ArrayList<org.ow2.jasmine.probe.JasmineCollectorInfo> getIndicatorTypes()
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeOutput> getOutputs()
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeOutput> newOutput(ProbeOutput output)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeOutput> removeOutput(String name)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeOutput> modifyOutput(ProbeOutput output)
throws ProbeManagerException
output - value object
ProbeManagerException
public ArrayList<String> getOutputTypes()
throws ProbeManagerException
ProbeManagerException
public List<org.ow2.jasmine.probe.JasminePropertyInfo> getOutputPropertyInfos(String type)
throws ProbeManagerException
type -
ProbeManagerException
public ArrayList<Probe> newProbe(Probe probe)
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> getProbes()
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> removeProbe(String ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void startProbe(String ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void startAllProbes()
throws ProbeManagerException
ProbeManagerException
public void stopProbe(String ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void stopAllProbes()
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> removeAllProbes()
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> modifyProbe(Probe probe)
throws ProbeManagerException
probe - value object
ProbeManagerException
public void changeProbePeriod(String ident,
int period)
throws ProbeManagerException
ident - Probe Identperiod -
ProbeManagerException
public ArrayList<Probe> copyProbe(Probe probe)
throws ProbeManagerException
probe - Probe to be duplicated
ProbeManagerException
public void saveConfig()
throws ProbeManagerException
ProbeManagerException
public void startListen(String probeId)
throws ProbeManagerException
ProbeManagerException
public void stopListen(String probeId)
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> loadConf(String url)
throws ProbeManagerException
ProbeManagerException
public ArrayList<String> getMBeans(String filter,
ProbeTarget target)
throws ProbeManagerException
ProbeManagerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||