接口 DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepaliveOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepalive, DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepalive.Builder
封闭类:
DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings

public static interface DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepaliveOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    com.google.protobuf.Duration
    The time duration between keep-alive probes.
    com.google.protobuf.DurationOrBuilder
    The time duration between keep-alive probes.
    int
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    com.google.protobuf.Duration
    The time duration a connection needs to be idle before keep-alive probes start being sent.
    com.google.protobuf.DurationOrBuilder
    The time duration a connection needs to be idle before keep-alive probes start being sent.
    boolean
    The time duration between keep-alive probes.
    boolean
    The time duration a connection needs to be idle before keep-alive probes start being sent.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • 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;