azure-docs-sdk-java/docs-ref-autogen/com.azure.core.test.utils.m...

62 строки
3.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.test.utils.metrics.TestMeasurement"
fullName: "com.azure.core.test.utils.metrics.TestMeasurement<T>"
name: "TestMeasurement<T>"
nameWithType: "TestMeasurement<T>"
summary: "Test implementation of metric measurements allowing to verify what measurements were reported."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **TestMeasurement<T>**"
methods:
- uid: "com.azure.core.test.utils.metrics.TestMeasurement.getAttributes()"
fullName: "com.azure.core.test.utils.metrics.TestMeasurement<T>.getAttributes()"
name: "getAttributes()"
nameWithType: "TestMeasurement<T>.getAttributes()"
summary: "Returns attributes this measurement was reported with."
syntax: "public Map<String,Object> getAttributes()"
desc: "Returns attributes this measurement was reported with."
returns:
description: "attribute map."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>&gt;"
- uid: "com.azure.core.test.utils.metrics.TestMeasurement.getContext()"
fullName: "com.azure.core.test.utils.metrics.TestMeasurement<T>.getContext()"
name: "getContext()"
nameWithType: "TestMeasurement<T>.getContext()"
summary: "Returns context this measurement was reported with."
syntax: "public Context getContext()"
desc: "Returns context this measurement was reported with."
returns:
description: "context."
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.test.utils.metrics.TestMeasurement.getValue()"
fullName: "com.azure.core.test.utils.metrics.TestMeasurement<T>.getValue()"
name: "getValue()"
nameWithType: "TestMeasurement<T>.getValue()"
summary: "Returns value this measurement was reported with."
syntax: "public T getValue()"
desc: "Returns value this measurement was reported with."
returns:
description: "reported value."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
type: "class"
typeParameters:
- name: "T"
desc: "Test implementation of metric measurements allowing to verify what measurements were reported."
metadata: {}
package: "com.azure.core.test.utils.metrics"
artifact: com.azure:azure-core-test:1.26.2