public class DummyProbeController extends java.lang.Object implements IProbeController
| Constructor and Description |
|---|
DummyProbeController()
Create the probe controller.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateMonitoredPattern(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String pattern)
Activates monitoring of a method (pattern) on one monitored application via TCP.
|
void |
activateParameterMonitoredPattern(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String operationSignature,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Activates monitoring of a method (pattern) on one monitored application via TCP and transfers
parameter.
|
void |
controlProbe(AbstractTcpControlEvent event)
Convenience method for
control events. |
void |
deactivateMonitoredPattern(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String pattern)
Deactivates monitoring of a method (pattern) on one monitored application via TCP.
|
boolean |
isKnownHost(java.lang.String ip,
int port)
Checks if a host is known.
|
void |
updateProbeParameter(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String pattern,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Updates the given parameters for a probe.
|
public void controlProbe(AbstractTcpControlEvent event) throws RemoteControlFailedException
control events.controlProbe in interface IProbeControllerevent - The event that contains the information for remote controlRemoteControlFailedException - if the connection can not be established within a set timeout.public void updateProbeParameter(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String pattern,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
throws RemoteControlFailedException
ip - Address of the monitored application.port - Port of the TCP controller.hostname - The name of the component which is using this IP and port.pattern - The pattern of the method that should is monitored.parameters - The map of parameters to be set, the key is the name and the values the values for
the parameter.RemoteControlFailedException - if the connection can not be established within a set timeout.public void activateMonitoredPattern(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String pattern)
throws RemoteControlFailedException
ip - Address of the monitored application.port - Port of the TCP controller.hostname - The name of the component which is using this IP and port.pattern - The pattern of the method that should be monitored.RemoteControlFailedException - if the connection can not be established within a set timeout.public void activateParameterMonitoredPattern(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String operationSignature,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
throws RemoteControlFailedException
ip - Address of the monitored application.port - Port of the TCP controller.hostname - The name of the component which is using this IP and port.operationSignature - The pattern of the method that should be monitored.parameters - The map of parameters to be set, the key is the name and the values the values for
the parameter.RemoteControlFailedException - if the connection can not be established within a set timeout.public void deactivateMonitoredPattern(java.lang.String ip,
int port,
java.lang.String hostname,
java.lang.String pattern)
throws RemoteControlFailedException
ip - Address of the monitored application.port - Port of the TCP controller.hostname - The name of the component which is using this IP and port.pattern - The pattern of the method that should no longer be monitored.RemoteControlFailedException - if the connection can not be established within a set timeout.public boolean isKnownHost(java.lang.String ip,
int port)
ip - the IP of the host.port - the used port of the TCP connectionsCopyright 2021 Kieker Project, http://kieker-monitoring.net