接口 DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepaliveOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      com.google.protobuf.Duration getInterval()
      The time duration between keep-alive probes.
      com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
      The time duration between keep-alive probes.
      int getProbes()
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      com.google.protobuf.Duration getTime()
      The time duration a connection needs to be idle before keep-alive probes start being sent.
      com.google.protobuf.DurationOrBuilder getTimeOrBuilder()
      The time duration a connection needs to be idle before keep-alive probes start being sent.
      boolean hasInterval()
      The time duration between keep-alive probes.
      boolean hasTime()
      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;