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

61 строка
4.4 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

### YamlMime:JavaType
uid: "com.azure.core.test.utils.metrics.TestHistogram"
fullName: "com.azure.core.test.utils.metrics.TestHistogram"
name: "TestHistogram"
nameWithType: "TestHistogram"
summary: "Test histogram implementation."
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 **TestHistogram**</br> implements <xref href=\"com.azure.core.util.metrics.DoubleHistogram?alt=com.azure.core.util.metrics.DoubleHistogram&text=DoubleHistogram\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.azure.core.test.utils.metrics.TestHistogram.getMeasurements()"
fullName: "com.azure.core.test.utils.metrics.TestHistogram.getMeasurements()"
name: "getMeasurements()"
nameWithType: "TestHistogram.getMeasurements()"
summary: "Gets all measurements reported with this histogram."
syntax: "public List<TestMeasurement<Double>> getMeasurements()"
desc: "Gets all measurements reported with this histogram."
returns:
description: "list of all measurements"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.test.utils.metrics.TestMeasurement?alt=com.azure.core.test.utils.metrics.TestMeasurement&text=TestMeasurement\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>&gt;&gt;"
- uid: "com.azure.core.test.utils.metrics.TestHistogram.isEnabled()"
fullName: "com.azure.core.test.utils.metrics.TestHistogram.isEnabled()"
name: "isEnabled()"
nameWithType: "TestHistogram.isEnabled()"
syntax: "public boolean isEnabled()"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.test.utils.metrics.TestHistogram.record(double,com.azure.core.util.TelemetryAttributes,com.azure.core.util.Context)"
fullName: "com.azure.core.test.utils.metrics.TestHistogram.record(double value, TelemetryAttributes attributes, Context context)"
name: "record(double value, TelemetryAttributes attributes, Context context)"
nameWithType: "TestHistogram.record(double value, TelemetryAttributes attributes, Context context)"
parameters:
- name: "value"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- name: "attributes"
type: "<xref href=\"com.azure.core.util.TelemetryAttributes?alt=com.azure.core.util.TelemetryAttributes&text=TelemetryAttributes\" data-throw-if-not-resolved=\"False\" />"
- name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void record(double value, TelemetryAttributes attributes, Context context)"
type: "class"
desc: "Test histogram implementation."
implements:
- "<xref href=\"com.azure.core.util.metrics.DoubleHistogram?alt=com.azure.core.util.metrics.DoubleHistogram&text=DoubleHistogram\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.azure.core.test.utils.metrics"
artifact: com.azure:azure-core-test:1.26.2