azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.CosmosDiag...

60 строки
4.3 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.CosmosDiagnosticsRequestEvent"
fullName: "com.azure.cosmos.CosmosDiagnosticsRequestEvent"
name: "CosmosDiagnosticsRequestEvent"
nameWithType: "CosmosDiagnosticsRequestEvent"
summary: "This class represents diagnostic information for different steps in the request pipeline when processing a data plane request (for example to issue a point operation against a certain replica)."
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 final class **CosmosDiagnosticsRequestEvent**"
methods:
- uid: "com.azure.cosmos.CosmosDiagnosticsRequestEvent.getDuration()"
fullName: "com.azure.cosmos.CosmosDiagnosticsRequestEvent.getDuration()"
name: "getDuration()"
nameWithType: "CosmosDiagnosticsRequestEvent.getDuration()"
summary: "Gets the duration for the request pipeline event - or null when the pipeline event hasn't finished (yet)."
syntax: "public Duration getDuration()"
desc: "Gets the duration for the request pipeline event - or null when the pipeline event hasn't finished (yet)."
returns:
description: "the duration for the request pipeline event or null when the pipeline event hasn't finished (yet)."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.cosmos.CosmosDiagnosticsRequestEvent.getEventName()"
fullName: "com.azure.cosmos.CosmosDiagnosticsRequestEvent.getEventName()"
name: "getEventName()"
nameWithType: "CosmosDiagnosticsRequestEvent.getEventName()"
summary: "Gets the name of the request pipeline event."
syntax: "public String getEventName()"
desc: "Gets the name of the request pipeline event."
returns:
description: "the name of the request pipeline event."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.CosmosDiagnosticsRequestEvent.getStartTime()"
fullName: "com.azure.cosmos.CosmosDiagnosticsRequestEvent.getStartTime()"
name: "getStartTime()"
nameWithType: "CosmosDiagnosticsRequestEvent.getStartTime()"
summary: "Gets the start time of the request pipeline event"
syntax: "public Instant getStartTime()"
desc: "Gets the start time of the request pipeline event"
returns:
description: "the start time of the request pipeline event"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
type: "class"
desc: "This class represents diagnostic information for different steps in the request pipeline when processing a data plane request (for example to issue a point operation against a certain replica). This information can be useful to identify where in the request pipeline an error happened or latency was spent - for example whether high latency was due to the fact that a new channel (TCP connection with SSL handshake) needed to be created or because the transport took a long time due to network issues etc."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.63.4