Package org.apache.flink.runtime.metrics
Class MetricRegistryConfiguration
- java.lang.Object
-
- org.apache.flink.runtime.metrics.MetricRegistryConfiguration
-
public class MetricRegistryConfiguration extends Object
Configuration object forMetricRegistryImpl.
-
-
Constructor Summary
Constructors Constructor Description MetricRegistryConfiguration(ScopeFormats scopeFormats, char delimiter, long queryServiceMessageSizeLimit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricRegistryConfigurationfromConfiguration(org.apache.flink.configuration.Configuration configuration, long maximumFrameSize)Create a metric registry configuration object from the givenConfiguration.chargetDelimiter()longgetQueryServiceMessageSizeLimit()ScopeFormatsgetScopeFormats()
-
-
-
Constructor Detail
-
MetricRegistryConfiguration
public MetricRegistryConfiguration(ScopeFormats scopeFormats, char delimiter, long queryServiceMessageSizeLimit)
-
-
Method Detail
-
getScopeFormats
public ScopeFormats getScopeFormats()
-
getDelimiter
public char getDelimiter()
-
getQueryServiceMessageSizeLimit
public long getQueryServiceMessageSizeLimit()
-
fromConfiguration
public static MetricRegistryConfiguration fromConfiguration(org.apache.flink.configuration.Configuration configuration, long maximumFrameSize)
Create a metric registry configuration object from the givenConfiguration.- Parameters:
configuration- to generate the metric registry configuration frommaximumFrameSize- the maximum message size that the RPC system supports- Returns:
- Metric registry configuration generated from the configuration
-
-