FabricTransportRemotingSettings.setConnectTimeout(Duration connectTimeout) 方法

定义

Connect timeout specifies the maximum time allowed for the connection to be established successfully.

Remarks:Default Value for ConnectTimeout Timeout is set as 5 seconds.

public void setConnectTimeout(Duration connectTimeout)

参数

connectTimeout
Duration

ConnectTimeout as java.time.Duration

适用于