Package org.apache.flink.runtime.metrics
Class AbstractReporterSetup<REPORTER,REPORTED>
- java.lang.Object
-
- org.apache.flink.runtime.metrics.AbstractReporterSetup<REPORTER,REPORTED>
-
- Type Parameters:
REPORTER
- generic type of the reporter.REPORTED
- generic type of what is reported.
- Direct Known Subclasses:
EventReporterSetup
,ReporterSetup
,TraceReporterSetup
public abstract class AbstractReporterSetup<REPORTER,REPORTED> extends Object
Abstract base class for reporter setups.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
additionalVariables
protected org.apache.flink.metrics.MetricConfig
configuration
protected ReporterFilter<REPORTED>
filter
protected static org.slf4j.Logger
LOG
protected String
name
protected REPORTER
reporter
-
Constructor Summary
Constructors Constructor Description AbstractReporterSetup(String name, org.apache.flink.metrics.MetricConfig configuration, REPORTER reporter, ReporterFilter<REPORTED> filter, Map<String,String> additionalVariables)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAdditionalVariables()
Optional<String>
getDelimiter()
protected abstract org.apache.flink.configuration.ConfigOption<String>
getDelimiterConfigOption()
Set<String>
getExcludedVariables()
protected abstract org.apache.flink.configuration.ConfigOption<String>
getExcludedVariablesConfigOption()
ReporterFilter<REPORTED>
getFilter()
String
getName()
REPORTER
getReporter()
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
name
protected final String name
-
configuration
protected final org.apache.flink.metrics.MetricConfig configuration
-
reporter
protected final REPORTER reporter
-
filter
protected final ReporterFilter<REPORTED> filter
-
-
Method Detail
-
getName
public String getName()
-
getReporter
public REPORTER getReporter()
-
getFilter
public ReporterFilter<REPORTED> getFilter()
-
getDelimiterConfigOption
protected abstract org.apache.flink.configuration.ConfigOption<String> getDelimiterConfigOption()
-
getExcludedVariablesConfigOption
protected abstract org.apache.flink.configuration.ConfigOption<String> getExcludedVariablesConfigOption()
-
-