public class TraceMetadataTraceIdFilter extends AbstractTraceIdFilter<TraceMetadata>
AbstractTraceIdFilter
. Allows to filter TraceMetadata
objects based on their given trace ids.Constructor and Description |
---|
TraceMetadataTraceIdFilter(boolean acceptAllTraces,
java.util.Set<java.lang.Long> selectedTraceIds)
Create a TraceMetadataTraceIdFilter stage.
|
Modifier and Type | Method and Description |
---|---|
protected long |
getRecordsTraceId(TraceMetadata 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 TraceMetadataTraceIdFilter(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(TraceMetadata record)
getRecordsTraceId
in class AbstractTraceIdFilter<TraceMetadata>
Copyright 2021 Kieker Project, http://kieker-monitoring.net