Interface IProbeController
- All Known Subinterfaces:
IMonitoringController
- All Known Implementing Classes:
MonitoringController,ProbeController
public interface IProbeController
- Since:
- 1.6
- Author:
- Jan Waller
-
Method Summary
Modifier and TypeMethodDescriptionbooleanactivateProbe(String pattern) Activates a probe.voidaddPatternParameter(String pattern, String name, List<String> values) Adds or updates a parameter for the given pattern.voidaddPatternParameterValue(String pattern, String name, String value) Add one value to a list of parameter values for a pattern.voidclearPatternParameters(String pattern) Deletes all parameters from the given pattern.booleandeactivateProbe(String pattern) Deactivates a probe.voiddeletePatternParameter(String pattern, String name) Deletes a parameter from the given pattern.getAllPatternParameters(String pattern) Looks up the parameters for a probe /the pattern of the probe and returns them, may be null.Returns the current list of patterns with a prefix indicating whether the pattern is active or not.booleanisProbeActivated(String signature) Tests if a probe is active.voidremovePatternParameterValue(String pattern, String name, String value) Remove one value to a list of parameter values for a pattern.voidsetProbePatternList(List<String> patternList) Overwrites the current list of patterns with a new pattern list.
-
Method Details
-
activateProbe
Activates a probe.- Parameters:
pattern- pattern for the probe- Returns:
- true on success
- Since:
- 1.6
-
deactivateProbe
Deactivates a probe.- Parameters:
pattern- pattern for the probe- Returns:
- true on success
- Since:
- 1.6
-
isProbeActivated
Tests if a probe is active. This test is ignorant of the fact whether monitoring itself is enabled/disabled/terminated.- Parameters:
signature- signature of the probe- Returns:
- true if the probe with this signature is active
- Since:
- 1.6
-
setProbePatternList
Overwrites the current list of patterns with a new pattern list.- Parameters:
patternList- list of strings with patterns where each string starts either with a + or -. The list can be empty (in which case the internal pattern list and the internal cache are cleared) - but not null.- Since:
- 1.6
-
getProbePatternList
Returns the current list of patterns with a prefix indicating whether the pattern is active or not.- Returns:
- list of strings with patterns where each string starts either with a + or -
- Since:
- 1.6
-
getAllPatternParameters
Looks up the parameters for a probe /the pattern of the probe and returns them, may be null.- Parameters:
pattern- The pattern of the probe.- Returns:
- The parameters of the probe, may be null.
- Since:
- 1.14
-
deletePatternParameter
Deletes a parameter from the given pattern.- Parameters:
pattern- The parameters to be deleted.name- The name of the parameter.- Since:
- 1.14
-
clearPatternParameters
Deletes all parameters from the given pattern.- Parameters:
pattern- The parameters to be deleted.- Since:
- 1.14
-
addPatternParameter
Adds or updates a parameter for the given pattern.- Parameters:
pattern- The pattern of the probe.name- The name of the parameter.values- a List of entries for this parameter.- Since:
- 1.14
-
addPatternParameterValue
Add one value to a list of parameter values for a pattern.- Parameters:
pattern- identifying the pattern for the parametername- name of the parametervalue- value to be added to the list of parameter values.- Since:
- 1.15
-
removePatternParameterValue
Remove one value to a list of parameter values for a pattern.- Parameters:
pattern- identifying the pattern for the parametername- name of the parametervalue- value to be removed from the list of parameter values.- Since:
- 1.15
-