接口 DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepaliveOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepalive,DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepalive.Builder
public static interface DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepaliveOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 com.google.protobuf.DurationgetInterval()The time duration between keep-alive probes.com.google.protobuf.DurationOrBuildergetIntervalOrBuilder()The time duration between keep-alive probes.intgetProbes()Maximum number of keepalive probes to send without response before deciding the connection is dead.com.google.protobuf.DurationgetTime()The time duration a connection needs to be idle before keep-alive probes start being sent.com.google.protobuf.DurationOrBuildergetTimeOrBuilder()The time duration a connection needs to be idle before keep-alive probes start being sent.booleanhasInterval()The time duration between keep-alive probes.booleanhasTime()The time duration a connection needs to be idle before keep-alive probes start being sent.
-
-
-
方法详细资料
-
getProbes
int getProbes()
Maximum number of keepalive probes to send without response before deciding the connection is dead. Default is to use the OS level configuration (unless overridden, Linux defaults to 9.)
uint32 probes = 1;- 返回:
- The probes.
-
hasTime
boolean hasTime()
The time duration a connection needs to be idle before keep-alive probes start being sent. Default is to use the OS level configuration (unless overridden, Linux defaults to 7200s (ie 2 hours.)
.google.protobuf.Duration time = 2;- 返回:
- Whether the time field is set.
-
getTime
com.google.protobuf.Duration getTime()
The time duration a connection needs to be idle before keep-alive probes start being sent. Default is to use the OS level configuration (unless overridden, Linux defaults to 7200s (ie 2 hours.)
.google.protobuf.Duration time = 2;- 返回:
- The time.
-
getTimeOrBuilder
com.google.protobuf.DurationOrBuilder getTimeOrBuilder()
The time duration a connection needs to be idle before keep-alive probes start being sent. Default is to use the OS level configuration (unless overridden, Linux defaults to 7200s (ie 2 hours.)
.google.protobuf.Duration time = 2;
-
hasInterval
boolean hasInterval()
The time duration between keep-alive probes. Default is to use the OS level configuration (unless overridden, Linux defaults to 75s.)
.google.protobuf.Duration interval = 3;- 返回:
- Whether the interval field is set.
-
getInterval
com.google.protobuf.Duration getInterval()
The time duration between keep-alive probes. Default is to use the OS level configuration (unless overridden, Linux defaults to 75s.)
.google.protobuf.Duration interval = 3;- 返回:
- The interval.
-
getIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
The time duration between keep-alive probes. Default is to use the OS level configuration (unless overridden, Linux defaults to 75s.)
.google.protobuf.Duration interval = 3;
-
-