Class FlowTraceEventMatcher

java.lang.Object
kieker.analysis.architecture.trace.flow.FlowTraceEventMatcher
All Implemented Interfaces:
IControlEventMatcher<OperationEvent,​kieker.common.record.flow.IFlowRecord>

public class FlowTraceEventMatcher
extends java.lang.Object
implements IControlEventMatcher<OperationEvent,​kieker.common.record.flow.IFlowRecord>
Control event matcher for flow events, controlled by OperationEvents.
Since:
1.15
  • Constructor Summary

    Constructors 
    Constructor Description
    FlowTraceEventMatcher()  
  • Method Summary

    Modifier and Type Method Description
    boolean checkControlEvent​(OperationEvent controlEvent, kieker.common.record.flow.IFlowRecord baseEvent)
    Check whether a base event matches a control event.
    boolean keepControlEvent​(kieker.common.record.flow.IFlowRecord baseEvent)
    True whether a control event must be kept to be reused for another base event.
    boolean requiresControlEvent​(kieker.common.record.flow.IFlowRecord baseEvent)
    Check whether the given event must be handled by the controller

    Methods inherited from class java.lang.Object

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

  • Method Details

    • requiresControlEvent

      public boolean requiresControlEvent​(kieker.common.record.flow.IFlowRecord baseEvent)
      Description copied from interface: IControlEventMatcher
      Check whether the given event must be handled by the controller
      Specified by:
      requiresControlEvent in interface IControlEventMatcher<OperationEvent,​kieker.common.record.flow.IFlowRecord>
      Parameters:
      baseEvent - the base event
      Returns:
      returns true when the base event must only be released with a proper control event
    • checkControlEvent

      public boolean checkControlEvent​(OperationEvent controlEvent, kieker.common.record.flow.IFlowRecord baseEvent)
      Description copied from interface: IControlEventMatcher
      Check whether a base event matches a control event.
      Specified by:
      checkControlEvent in interface IControlEventMatcher<OperationEvent,​kieker.common.record.flow.IFlowRecord>
      Parameters:
      controlEvent - the control event
      baseEvent - the base event to be checked
      Returns:
      returns true if the base event is accepted
    • keepControlEvent

      public boolean keepControlEvent​(kieker.common.record.flow.IFlowRecord baseEvent)
      Description copied from interface: IControlEventMatcher
      True whether a control event must be kept to be reused for another base event.
      Specified by:
      keepControlEvent in interface IControlEventMatcher<OperationEvent,​kieker.common.record.flow.IFlowRecord>
      Parameters:
      baseEvent - the previously checked base event
      Returns:
      true to keep control event