Class InternalOperatorMetricGroup
java.lang.Object
org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<P>
org.apache.flink.runtime.metrics.groups.ComponentMetricGroup<TaskMetricGroup>
org.apache.flink.runtime.metrics.groups.InternalOperatorMetricGroup
- All Implemented Interfaces:
org.apache.flink.metrics.groups.OperatorMetricGroup,org.apache.flink.metrics.MetricGroup
- Direct Known Subclasses:
UnregisteredMetricGroups.UnregisteredOperatorMetricGroup
@Internal
public class InternalOperatorMetricGroup
extends ComponentMetricGroup<TaskMetricGroup>
implements org.apache.flink.metrics.groups.OperatorMetricGroup
Special
MetricGroup representing an Operator.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
AbstractMetricGroup.ChildType -
Field Summary
Fields inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
LOG, parent, queryServiceScopeInfo, registry, variables -
Method Summary
Modifier and TypeMethodDescriptionprotected QueryScopeInfo.OperatorQueryScopeInfocreateQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter) Creates the metric query service scope for this group.protected StringgetGroupName(org.apache.flink.metrics.CharacterFilter filter) Returns the name for this group, meaning what kind of entity it represents, for example "taskmanager".Returns the OperatorIOMetricGroup for this operator.final TaskIOMetricGroupfinal org.apache.flink.metrics.MetricGroupprotected voidputVariables(Map<String, String> variables) Enters all variables specific to thisAbstractMetricGroupand their associated values into the map.protected Iterable<? extends ComponentMetricGroup>Gets all component metric groups that are contained in this component metric group.Methods inherited from class org.apache.flink.runtime.metrics.groups.ComponentMetricGroup
closeMethods inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
addGroup, addGroup, addMetric, addSpan, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.metrics.MetricGroup
addGroup, addGroup, addGroup, addSpan, counter, counter, counter, counter, gauge, gauge, getAllVariables, getMetricIdentifier, getMetricIdentifier, getScopeComponents, histogram, histogram, meter, meter
-
Method Details
-
getTaskIOMetricGroup
-
getTaskMetricGroup
public final org.apache.flink.metrics.MetricGroup getTaskMetricGroup() -
createQueryServiceMetricInfo
protected QueryScopeInfo.OperatorQueryScopeInfo createQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter) Description copied from class:AbstractMetricGroupCreates the metric query service scope for this group.- Specified by:
createQueryServiceMetricInfoin classAbstractMetricGroup<TaskMetricGroup>- Parameters:
filter- character filter- Returns:
- query service scope
-
getIOMetricGroup
Returns the OperatorIOMetricGroup for this operator.- Specified by:
getIOMetricGroupin interfaceorg.apache.flink.metrics.groups.OperatorMetricGroup- Returns:
- OperatorIOMetricGroup for this operator.
-
putVariables
Description copied from class:AbstractMetricGroupEnters all variables specific to thisAbstractMetricGroupand their associated values into the map.- Overrides:
putVariablesin classAbstractMetricGroup<TaskMetricGroup>- Parameters:
variables- map to enter variables and their values into
-
subComponents
Description copied from class:ComponentMetricGroupGets all component metric groups that are contained in this component metric group.- Specified by:
subComponentsin classComponentMetricGroup<TaskMetricGroup>- Returns:
- All component metric groups that are contained in this component metric group.
-
getGroupName
Description copied from class:AbstractMetricGroupReturns the name for this group, meaning what kind of entity it represents, for example "taskmanager".- Specified by:
getGroupNamein classAbstractMetricGroup<TaskMetricGroup>- Parameters:
filter- character filter which is applied to the name- Returns:
- logical name for this group
-