Interface QuicProtocolOptions.ConnectionMigrationSettings.MigrateIdleConnectionSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
QuicProtocolOptions.ConnectionMigrationSettings.MigrateIdleConnectionSettings, QuicProtocolOptions.ConnectionMigrationSettings.MigrateIdleConnectionSettings.Builder
Enclosing class:
QuicProtocolOptions.ConnectionMigrationSettings

public static interface QuicProtocolOptions.ConnectionMigrationSettings.MigrateIdleConnectionSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    If idle connections are allowed to be migrated, only migrate the connection if it hasn't been idle for longer than this idle period.
    com.google.protobuf.DurationOrBuilder
    If idle connections are allowed to be migrated, only migrate the connection if it hasn't been idle for longer than this idle period.
    boolean
    If idle connections are allowed to be migrated, only migrate the connection if it hasn't been idle for longer than this idle period.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasMaxIdleTimeBeforeMigration

      boolean hasMaxIdleTimeBeforeMigration()
       If idle connections are allowed to be migrated, only migrate the connection
       if it hasn't been idle for longer than this idle period. Otherwise, the
       connection will be closed instead.
       Default to 30s.
       
      .google.protobuf.Duration max_idle_time_before_migration = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the maxIdleTimeBeforeMigration field is set.
    • getMaxIdleTimeBeforeMigration

      com.google.protobuf.Duration getMaxIdleTimeBeforeMigration()
       If idle connections are allowed to be migrated, only migrate the connection
       if it hasn't been idle for longer than this idle period. Otherwise, the
       connection will be closed instead.
       Default to 30s.
       
      .google.protobuf.Duration max_idle_time_before_migration = 1 [(.validate.rules) = { ... }
      Returns:
      The maxIdleTimeBeforeMigration.
    • getMaxIdleTimeBeforeMigrationOrBuilder

      com.google.protobuf.DurationOrBuilder getMaxIdleTimeBeforeMigrationOrBuilder()
       If idle connections are allowed to be migrated, only migrate the connection
       if it hasn't been idle for longer than this idle period. Otherwise, the
       connection will be closed instead.
       Default to 30s.
       
      .google.protobuf.Duration max_idle_time_before_migration = 1 [(.validate.rules) = { ... }