Interface Cluster.MaglevLbConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.MaglevLbConfig
,Cluster.MaglevLbConfig.Builder
- Enclosing class:
Cluster
public static interface Cluster.MaglevLbConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.UInt64Value
The table size for Maglev hashing.com.google.protobuf.UInt64ValueOrBuilder
The table size for Maglev hashing.boolean
The table size for Maglev hashing.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
-
hasTableSize
boolean hasTableSize()The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the tableSize field is set.
-
getTableSize
com.google.protobuf.UInt64Value getTableSize()The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
- Returns:
- The tableSize.
-
getTableSizeOrBuilder
com.google.protobuf.UInt64ValueOrBuilder getTableSizeOrBuilder()The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
-