Class TcpUpdateParameterEvent

java.lang.Object
kieker.analysis.architecture.adaptation.events.BasicTcpControlEvent
kieker.analysis.architecture.adaptation.events.TcpUpdateParameterEvent
All Implemented Interfaces:
IParameterEvent

public class TcpUpdateParameterEvent
extends BasicTcpControlEvent
implements IParameterEvent
Represents an event for the update of parameters of a probe via TCP.
Since:
1.15
Author:
Marc Adolf
  • Constructor Summary

    Constructors 
    Constructor Description
    TcpUpdateParameterEvent​(java.lang.String ip, int port, java.lang.String hostname, java.lang.String pattern, long triggerTimestamp, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> parameters)
    Creates a complete parameter update control event.
    TcpUpdateParameterEvent​(java.lang.String operationSignature, long triggerTimestamp, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> parameters)
    Creates a parameter update 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TcpUpdateParameterEvent

      public TcpUpdateParameterEvent​(java.lang.String operationSignature, long triggerTimestamp, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> parameters)
      Creates a parameter update control event without content except the pattern and parameters.
      Parameters:
      operationSignature - The operation signature of the method that is monitored.
      triggerTimestamp - original trigger timestamp
      parameters - a map of parameters and a list of each entry per parameter
    • TcpUpdateParameterEvent

      public TcpUpdateParameterEvent​(java.lang.String ip, int port, java.lang.String hostname, java.lang.String pattern, long triggerTimestamp, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> parameters)
      Creates a complete parameter update 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.
      pattern - The pattern of the method that is monitored.
      triggerTimestamp - original trigger timestamp
      parameters - 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 interface IParameterEvent
      Returns:
      returns a map of parameter names to lists of values