public final class ClientConnectionTimings extends Object
Request.RequestOnlyLog.connectionTimings()| Modifier and Type | Method and Description |
|---|---|
static ClientConnectionTimingsBuilder |
builder()
Returns a newly created
ClientConnectionTimingsBuilder. |
long |
connectionAcquisitionDurationNanos()
Returns the duration which was taken to get a connection, in nanoseconds.
|
long |
connectionAcquisitionStartTimeMicros()
Returns the time when the client started to acquire a connection, in microseconds since the epoch.
|
long |
connectionAcquisitionStartTimeMillis()
Returns the time when the client started to acquire a connection, in milliseconds since the epoch.
|
long |
dnsResolutionDurationNanos()
Returns the duration which was taken to resolve a domain name, in nanoseconds.
|
long |
dnsResolutionStartTimeMicros()
Returns the time when the client started to resolve a domain name, in microseconds since the epoch.
|
long |
dnsResolutionStartTimeMillis()
Returns the time when the client started to resolve a domain name, in milliseconds since the epoch.
|
long |
pendingAcquisitionDurationNanos()
Returns the duration which was taken to wait for the completion of an existing connection attempt
in order to use one connection for HTTP/2.
|
long |
pendingAcquisitionStartTimeMicros()
Returns the time when the client started to wait for the completion of an existing connection attempt,
in microseconds since the epoch.
|
long |
pendingAcquisitionStartTimeMillis()
Returns the time when the client started to wait for the completion of an existing connection attempt,
in milliseconds since the epoch.
|
long |
socketConnectDurationNanos()
Returns the duration which was taken to connect to a remote peer, in nanoseconds.
|
long |
socketConnectStartTimeMicros()
Returns the time when the client started to connect to a remote peer, in microseconds since the epoch.
|
long |
socketConnectStartTimeMillis()
Returns the time when the client started to connect to a remote peer, in milliseconds since the epoch.
|
String |
toString() |
public static ClientConnectionTimingsBuilder builder()
ClientConnectionTimingsBuilder.public long connectionAcquisitionStartTimeMicros()
public long connectionAcquisitionStartTimeMillis()
public long connectionAcquisitionDurationNanos()
dnsResolutionDurationNanos(), socketConnectDurationNanos() and
pendingAcquisitionDurationNanos().public long dnsResolutionStartTimeMicros()
-1 if there was no action to resolve a domain name.public long dnsResolutionStartTimeMillis()
-1 if there was no action to resolve a domain name.public long dnsResolutionDurationNanos()
-1 if there was no action to resolve a domain name.public long socketConnectStartTimeMicros()
-1 if there was no action to connect to a remote peer.public long socketConnectStartTimeMillis()
-1 if there was no action to connect to a remote peer.public long socketConnectDurationNanos()
-1 if there was no action to connect to a remote peer.public long pendingAcquisitionStartTimeMicros()
-1 if there was no action to get a pending connection.public long pendingAcquisitionStartTimeMillis()
-1 if there was no action to get a pending connection.public long pendingAcquisitionDurationNanos()
-1 if there was no action to get a pending connection.Copyright © 2020 LeanCloud. All rights reserved.