Interface MaglevOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Maglev,Maglev.Builder
public interface MaglevOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConsistentHashingLbConfiggetConsistentHashingLbConfig()Common configuration for hashing-based load balancing policies.ConsistentHashingLbConfigOrBuildergetConsistentHashingLbConfigOrBuilder()Common configuration for hashing-based load balancing policies.LocalityLbConfig.LocalityWeightedLbConfiggetLocalityWeightedLbConfig()Enable locality weighted load balancing for maglev lb explicitly.LocalityLbConfig.LocalityWeightedLbConfigOrBuildergetLocalityWeightedLbConfigOrBuilder()Enable locality weighted load balancing for maglev lb explicitly.com.google.protobuf.UInt64ValuegetTableSize()The table size for Maglev hashing.com.google.protobuf.UInt64ValueOrBuildergetTableSizeOrBuilder()The table size for Maglev hashing.booleanhasConsistentHashingLbConfig()Common configuration for hashing-based load balancing policies.booleanhasLocalityWeightedLbConfig()Enable locality weighted load balancing for maglev lb explicitly.booleanhasTableSize()The table size for Maglev hashing.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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) = { ... }
-
hasConsistentHashingLbConfig
boolean hasConsistentHashingLbConfig()
Common configuration for hashing-based load balancing policies.
.envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig consistent_hashing_lb_config = 2;- Returns:
- Whether the consistentHashingLbConfig field is set.
-
getConsistentHashingLbConfig
ConsistentHashingLbConfig getConsistentHashingLbConfig()
Common configuration for hashing-based load balancing policies.
.envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig consistent_hashing_lb_config = 2;- Returns:
- The consistentHashingLbConfig.
-
getConsistentHashingLbConfigOrBuilder
ConsistentHashingLbConfigOrBuilder getConsistentHashingLbConfigOrBuilder()
Common configuration for hashing-based load balancing policies.
.envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig consistent_hashing_lb_config = 2;
-
hasLocalityWeightedLbConfig
boolean hasLocalityWeightedLbConfig()
Enable locality weighted load balancing for maglev lb explicitly.
.envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;- Returns:
- Whether the localityWeightedLbConfig field is set.
-
getLocalityWeightedLbConfig
LocalityLbConfig.LocalityWeightedLbConfig getLocalityWeightedLbConfig()
Enable locality weighted load balancing for maglev lb explicitly.
.envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;- Returns:
- The localityWeightedLbConfig.
-
getLocalityWeightedLbConfigOrBuilder
LocalityLbConfig.LocalityWeightedLbConfigOrBuilder getLocalityWeightedLbConfigOrBuilder()
Enable locality weighted load balancing for maglev lb explicitly.
.envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
-