Builder

class Builder

Fluent builder for NodeConfig, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

构造函数(Constructors)

Link copied to clipboard
constructor()

函数

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

集合(Sets) NodeConfig.timeout 以毫秒为单位。

fun timeoutMillis(timeoutMillis: Long?): NodeConfig.Builder

集合(Sets) NodeConfig.timeout 以毫秒为单位;如果达到指定时间,系统会自动清除该内容。 null这个非空值的重载版本允许 Java… int 字面量(literals)可以被编译(compile)。