Package org.apache.dubbo.metrics.model
Class MethodMetric
java.lang.Object
org.apache.dubbo.metrics.model.ApplicationMetric
org.apache.dubbo.metrics.model.ServiceKeyMetric
org.apache.dubbo.metrics.model.MethodMetric
- All Implemented Interfaces:
Metric
Metric class for method.
-
Constructor Summary
ConstructorsConstructorDescriptionMethodMetric(ApplicationModel applicationModel, Invocation invocation, boolean serviceLevel) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetGroup()getSide()getTags()inthashCode()static booleanisServiceLevel(ApplicationModel applicationModel) voidvoidvoidsetVersion(String version) toString()Methods inherited from class org.apache.dubbo.metrics.model.ServiceKeyMetric
getServiceKeyMethods inherited from class org.apache.dubbo.metrics.model.ApplicationMetric
getApplicationModel, getApplicationName, getExtraInfo, setExtraInfo
-
Constructor Details
-
MethodMetric
-
-
Method Details
-
isServiceLevel
-
getGroup
-
setGroup
-
getVersion
-
setVersion
-
getTags
- Specified by:
getTagsin interfaceMetric- Overrides:
getTagsin classServiceKeyMetric
-
getMethodName
-
getSide
-
setSide
-
toString
- Overrides:
toStringin classServiceKeyMetric
-
equals
- Overrides:
equalsin classServiceKeyMetric
-
hashCode
public int hashCode()- Overrides:
hashCodein classServiceKeyMetric
-