Class Stage
java.lang.Object
org.graylog.plugins.pipelineprocessor.ast.Stage
- All Implemented Interfaces:
Comparable<Stage>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stage.Builderbuilder()intgetRules()voidabstract Stage.Matchmatch()com.codahale.metrics.MetricFilterThe metric filter matching all metrics that have been registered by this pipeline.voidregisterMetrics(com.codahale.metrics.MetricRegistry metricRegistry, String pipelineId) Register the metrics attached to this stage.voidsetPipeline(Pipeline pipeline) voidabstract intstage()abstract Stage.BuildertoString()
-
Constructor Details
-
Stage
public Stage()
-
-
Method Details
-
stage
public abstract int stage() -
match
-
ruleReferences
-
getRules
-
setRules
-
builder
-
toBuilder
-
compareTo
- Specified by:
compareToin interfaceComparable<Stage>
-
registerMetrics
Register the metrics attached to this stage.- Parameters:
metricRegistry- the registry to add the metrics to
-
metricsFilter
public com.codahale.metrics.MetricFilter metricsFilter()The metric filter matching all metrics that have been registered by this pipeline. Commonly used to remove the relevant metrics from the registry upon deletion of the pipeline.- Returns:
- the filter matching this pipeline's metrics
-
markExecution
public void markExecution() -
getPipeline
-
setPipeline
-
toString
-