169 строки
12 KiB
YAML
169 строки
12 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.test.utils.metrics.TestMeter"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter"
|
|
name: "TestMeter"
|
|
nameWithType: "TestMeter"
|
|
summary: "Test meter 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 **TestMeter**</br> implements <xref href=\"com.azure.core.util.metrics.Meter?alt=com.azure.core.util.metrics.Meter&text=Meter\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.TestMeter()"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.TestMeter()"
|
|
name: "TestMeter()"
|
|
nameWithType: "TestMeter.TestMeter()"
|
|
summary: "Creates test meter."
|
|
syntax: "public TestMeter()"
|
|
desc: "Creates test meter."
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.TestMeter(boolean)"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.TestMeter(boolean isEnabled)"
|
|
name: "TestMeter(boolean isEnabled)"
|
|
nameWithType: "TestMeter.TestMeter(boolean isEnabled)"
|
|
summary: "Creates test meter"
|
|
parameters:
|
|
- description: "flag indicating if meter should be enabled."
|
|
name: "isEnabled"
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public TestMeter(boolean isEnabled)"
|
|
desc: "Creates test meter"
|
|
methods:
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.close()"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.close()"
|
|
name: "close()"
|
|
nameWithType: "TestMeter.close()"
|
|
syntax: "public void close()"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.createAttributes(java.util.Map<java.lang.String,java.lang.Object>)"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.createAttributes(Map<String,Object> attributeMap)"
|
|
name: "createAttributes(Map<String,Object> attributeMap)"
|
|
nameWithType: "TestMeter.createAttributes(Map<String,Object> attributeMap)"
|
|
parameters:
|
|
- name: "attributeMap"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<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>>"
|
|
syntax: "public TelemetryAttributes createAttributes(Map<String,Object> attributeMap)"
|
|
returns:
|
|
type: "<xref href=\"com.azure.core.util.TelemetryAttributes?alt=com.azure.core.util.TelemetryAttributes&text=TelemetryAttributes\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.createDoubleHistogram(java.lang.String,java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.createDoubleHistogram(String name, String description, String unit)"
|
|
name: "createDoubleHistogram(String name, String description, String unit)"
|
|
nameWithType: "TestMeter.createDoubleHistogram(String name, String description, String unit)"
|
|
parameters:
|
|
- name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "description"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "unit"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public DoubleHistogram createDoubleHistogram(String name, String description, String unit)"
|
|
returns:
|
|
type: "<xref href=\"com.azure.core.util.metrics.DoubleHistogram?alt=com.azure.core.util.metrics.DoubleHistogram&text=DoubleHistogram\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.createLongCounter(java.lang.String,java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.createLongCounter(String name, String description, String unit)"
|
|
name: "createLongCounter(String name, String description, String unit)"
|
|
nameWithType: "TestMeter.createLongCounter(String name, String description, String unit)"
|
|
parameters:
|
|
- name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "description"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "unit"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LongCounter createLongCounter(String name, String description, String unit)"
|
|
returns:
|
|
type: "<xref href=\"com.azure.core.util.metrics.LongCounter?alt=com.azure.core.util.metrics.LongCounter&text=LongCounter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.createLongGauge(java.lang.String,java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.createLongGauge(String name, String description, String unit)"
|
|
name: "createLongGauge(String name, String description, String unit)"
|
|
nameWithType: "TestMeter.createLongGauge(String name, String description, String unit)"
|
|
parameters:
|
|
- name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "description"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "unit"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LongGauge createLongGauge(String name, String description, String unit)"
|
|
returns:
|
|
type: "<xref href=\"com.azure.core.util.metrics.LongGauge?alt=com.azure.core.util.metrics.LongGauge&text=LongGauge\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.createLongUpDownCounter(java.lang.String,java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.createLongUpDownCounter(String name, String description, String unit)"
|
|
name: "createLongUpDownCounter(String name, String description, String unit)"
|
|
nameWithType: "TestMeter.createLongUpDownCounter(String name, String description, String unit)"
|
|
parameters:
|
|
- name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "description"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "unit"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LongCounter createLongUpDownCounter(String name, String description, String unit)"
|
|
returns:
|
|
type: "<xref href=\"com.azure.core.util.metrics.LongCounter?alt=com.azure.core.util.metrics.LongCounter&text=LongCounter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.getCounters()"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.getCounters()"
|
|
name: "getCounters()"
|
|
nameWithType: "TestMeter.getCounters()"
|
|
summary: "Gets counters created with this meter."
|
|
syntax: "public Map<String,TestCounter> getCounters()"
|
|
desc: "Gets counters created with this meter."
|
|
returns:
|
|
description: "map of counters (by counter name)"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.core.test.utils.metrics.TestCounter?alt=com.azure.core.test.utils.metrics.TestCounter&text=TestCounter\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.getGauges()"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.getGauges()"
|
|
name: "getGauges()"
|
|
nameWithType: "TestMeter.getGauges()"
|
|
summary: "Gets gauges created with this meter."
|
|
syntax: "public Map<String,TestGauge> getGauges()"
|
|
desc: "Gets gauges created with this meter."
|
|
returns:
|
|
description: "map of counters (by gauge name)"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.core.test.utils.metrics.TestGauge?alt=com.azure.core.test.utils.metrics.TestGauge&text=TestGauge\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.getHistograms()"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.getHistograms()"
|
|
name: "getHistograms()"
|
|
nameWithType: "TestMeter.getHistograms()"
|
|
summary: "Gets histograms created with this meter."
|
|
syntax: "public Map<String,TestHistogram> getHistograms()"
|
|
desc: "Gets histograms created with this meter."
|
|
returns:
|
|
description: "map of histograms (by histogram name)"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.core.test.utils.metrics.TestHistogram?alt=com.azure.core.test.utils.metrics.TestHistogram&text=TestHistogram\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.getUpDownCounters()"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.getUpDownCounters()"
|
|
name: "getUpDownCounters()"
|
|
nameWithType: "TestMeter.getUpDownCounters()"
|
|
summary: "Gets up-down counters created with this meter."
|
|
syntax: "public Map<String,TestCounter> getUpDownCounters()"
|
|
desc: "Gets up-down counters created with this meter."
|
|
returns:
|
|
description: "map of counters (by counter name)"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.core.test.utils.metrics.TestCounter?alt=com.azure.core.test.utils.metrics.TestCounter&text=TestCounter\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.core.test.utils.metrics.TestMeter.isEnabled()"
|
|
fullName: "com.azure.core.test.utils.metrics.TestMeter.isEnabled()"
|
|
name: "isEnabled()"
|
|
nameWithType: "TestMeter.isEnabled()"
|
|
syntax: "public boolean isEnabled()"
|
|
returns:
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Test meter implementation."
|
|
implements:
|
|
- "<xref href=\"com.azure.core.util.metrics.Meter?alt=com.azure.core.util.metrics.Meter&text=Meter\" data-throw-if-not-resolved=\"False\" />"
|
|
metadata: {}
|
|
package: "com.azure.core.test.utils.metrics"
|
|
artifact: com.azure:azure-core-test:1.26.2
|