public final class ClientConnectionTimingsBuilder extends Object
ClientConnectionTimings.| Constructor and Description |
|---|
ClientConnectionTimingsBuilder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ClientConnectionTimings |
build()
Returns a newly-created
ClientConnectionTimings instance. |
ClientConnectionTimingsBuilder |
dnsResolutionEnd()
Sets the time when the client ended to resolve a domain name.
|
ClientConnectionTimingsBuilder |
pendingAcquisitionEnd()
Sets the time when the client ended to wait for an existing connection attempt in order to use
one connection for HTTP/2.
|
ClientConnectionTimingsBuilder |
pendingAcquisitionStart()
Sets the time when the client started to wait for the completion of an existing connection attempt
in order to use one connection for HTTP/2.
|
ClientConnectionTimingsBuilder |
socketConnectEnd()
Sets the time when the client ended to connect to a remote peer.
|
ClientConnectionTimingsBuilder |
socketConnectStart()
Sets the time when the client started to connect to a remote peer.
|
@Deprecated public ClientConnectionTimingsBuilder()
ClientConnectionTimings.builder().public ClientConnectionTimingsBuilder dnsResolutionEnd()
ClientConnectionTimingsBuilder is considered as the start time of
resolving a domain name.public ClientConnectionTimingsBuilder socketConnectStart()
public ClientConnectionTimingsBuilder socketConnectEnd()
IllegalStateException - if socketConnectStart() is not invoked before calling this.public ClientConnectionTimingsBuilder pendingAcquisitionStart()
public ClientConnectionTimingsBuilder pendingAcquisitionEnd()
IllegalStateException - if pendingAcquisitionStart() is not invoked before calling this.public ClientConnectionTimings build()
ClientConnectionTimings instance.Copyright © 2020 LeanCloud. All rights reserved.