public class TraceEventTraceIdFilter extends AbstractTraceIdFilter<AbstractTraceEvent>
AbstractTraceIdFilter
. Allows to filter AbstractTraceEvent
s based on their given trace ids.Constructor and Description |
---|
TraceEventTraceIdFilter(boolean acceptAllTraces,
java.util.Set<java.lang.Long> selectedTraceIds)
Create a TraceEventTraceIdFilter stage.
|
Modifier and Type | Method and Description |
---|---|
protected long |
getRecordsTraceId(AbstractTraceEvent record) |
execute, getMatchingTraceIdOutputPort, getMismatchingTraceIdOutputPort
createInputPort, execute, getInputPort
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
public TraceEventTraceIdFilter(boolean acceptAllTraces, java.util.Set<java.lang.Long> selectedTraceIds)
acceptAllTraces
- if true, accept all traces (the filter has no effect)selectedTraceIds
- list of trace ids to acceptprotected long getRecordsTraceId(AbstractTraceEvent record)
getRecordsTraceId
in class AbstractTraceIdFilter<AbstractTraceEvent>
Copyright 2021 Kieker Project, http://kieker-monitoring.net