Class TcpActivationParameterControlEvent
java.lang.Object
kieker.analysis.architecture.adaptation.events.BasicTcpControlEvent
kieker.analysis.architecture.adaptation.events.TcpActivationControlEvent
kieker.analysis.architecture.adaptation.events.TcpActivationParameterControlEvent
- All Implemented Interfaces:
IParameterEvent
public class TcpActivationParameterControlEvent extends TcpActivationControlEvent implements IParameterEvent
Represents an event for the activation of a probe via TCP. Additionally transfers parameters.
- Since:
- 1.15
- Author:
- Marc Adolf
-
Constructor Summary
Constructors Constructor Description TcpActivationParameterControlEvent(java.lang.String ip, int port, java.lang.String hostname, java.lang.String operationSignature, long triggerTimestamp, java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Creates a complete parameter activation control event.TcpActivationParameterControlEvent(java.lang.String operationSignature, long triggerTimestamp, java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Creates a parameter activation control event without content except the pattern and parameters. -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getParameters()
Methods inherited from class kieker.analysis.architecture.adaptation.events.BasicTcpControlEvent
getIp, getOperationSignature, getPort, getServiceComponent, getTriggerTimestamp, setHostname, setIp, setPort
-
Constructor Details
-
TcpActivationParameterControlEvent
public TcpActivationParameterControlEvent(java.lang.String ip, int port, java.lang.String hostname, java.lang.String operationSignature, long triggerTimestamp, java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)Creates a complete parameter activation control event.- Parameters:
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 operation signature of the method that should be monitored.parameters
- a map of parameters and a list of each entry per parametertriggerTimestamp
- original trigger timestamp
-
TcpActivationParameterControlEvent
public TcpActivationParameterControlEvent(java.lang.String operationSignature, long triggerTimestamp, java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)Creates a parameter activation control event without content except the pattern and parameters.- Parameters:
operationSignature
- The operation signature of the method that should be monitored.triggerTimestamp
- original trigger timestampparameters
- a map of parameters and a list of each entry per parameter
-
-
Method Details
-
getParameters
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameters()- Specified by:
getParameters
in interfaceIParameterEvent
- Returns:
- returns a map of parameter names to lists of values
-