public static final class Cluster.RingHashLbConfig extends com.google.protobuf.GeneratedMessageV3 implements Cluster.RingHashLbConfigOrBuilder
Specific configuration for the :ref:`RingHash<arch_overview_load_balancing_types_ring_hash>` load balancing policy.Protobuf type
envoy.api.v2.Cluster.RingHashLbConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.RingHashLbConfig.Builder
Specific configuration for the :ref:`RingHash<arch_overview_load_balancing_types_ring_hash>`
load balancing policy.
|
static class |
Cluster.RingHashLbConfig.DeprecatedV1
[#not-implemented-hide:] Hide from docs.
|
static interface |
Cluster.RingHashLbConfig.DeprecatedV1OrBuilder |
static class |
Cluster.RingHashLbConfig.HashFunction
The hash function used to hash hosts onto the ketama ring.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DEPRECATED_V1_FIELD_NUMBER |
static int |
HASH_FUNCTION_FIELD_NUMBER |
static int |
MINIMUM_RING_SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Cluster.RingHashLbConfig |
getDefaultInstance() |
Cluster.RingHashLbConfig |
getDefaultInstanceForType() |
Cluster.RingHashLbConfig.DeprecatedV1 |
getDeprecatedV1()
Deprecated.
|
Cluster.RingHashLbConfig.DeprecatedV1OrBuilder |
getDeprecatedV1OrBuilder()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Cluster.RingHashLbConfig.HashFunction |
getHashFunction()
The hash function used to hash hosts onto the ketama ring.
|
int |
getHashFunctionValue()
The hash function used to hash hosts onto the ketama ring.
|
com.google.protobuf.UInt64Value |
getMinimumRingSize()
Minimum hash ring size, i.e. total virtual nodes.
|
com.google.protobuf.UInt64ValueOrBuilder |
getMinimumRingSizeOrBuilder()
Minimum hash ring size, i.e. total virtual nodes.
|
com.google.protobuf.Parser<Cluster.RingHashLbConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDeprecatedV1()
Deprecated.
|
int |
hashCode() |
boolean |
hasMinimumRingSize()
Minimum hash ring size, i.e. total virtual nodes.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cluster.RingHashLbConfig.Builder |
newBuilder() |
static Cluster.RingHashLbConfig.Builder |
newBuilder(Cluster.RingHashLbConfig prototype) |
Cluster.RingHashLbConfig.Builder |
newBuilderForType() |
protected Cluster.RingHashLbConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Cluster.RingHashLbConfig |
parseDelimitedFrom(InputStream input) |
static Cluster.RingHashLbConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.RingHashLbConfig |
parseFrom(byte[] data) |
static Cluster.RingHashLbConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.RingHashLbConfig |
parseFrom(ByteBuffer data) |
static Cluster.RingHashLbConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.RingHashLbConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Cluster.RingHashLbConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.RingHashLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cluster.RingHashLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.RingHashLbConfig |
parseFrom(InputStream input) |
static Cluster.RingHashLbConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cluster.RingHashLbConfig> |
parser() |
Cluster.RingHashLbConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MINIMUM_RING_SIZE_FIELD_NUMBER
public static final int DEPRECATED_V1_FIELD_NUMBER
public static final int HASH_FUNCTION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasMinimumRingSize()
Minimum hash ring size, i.e. total virtual nodes. A larger size will provide better request distribution since each host in the cluster will have more virtual nodes. Defaults to 1024. In the case that total number of hosts is greater than the minimum, each host will be allocated a single virtual node. This field is limited to 8M to bound resource use.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }hasMinimumRingSize in interface Cluster.RingHashLbConfigOrBuilderpublic com.google.protobuf.UInt64Value getMinimumRingSize()
Minimum hash ring size, i.e. total virtual nodes. A larger size will provide better request distribution since each host in the cluster will have more virtual nodes. Defaults to 1024. In the case that total number of hosts is greater than the minimum, each host will be allocated a single virtual node. This field is limited to 8M to bound resource use.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }getMinimumRingSize in interface Cluster.RingHashLbConfigOrBuilderpublic com.google.protobuf.UInt64ValueOrBuilder getMinimumRingSizeOrBuilder()
Minimum hash ring size, i.e. total virtual nodes. A larger size will provide better request distribution since each host in the cluster will have more virtual nodes. Defaults to 1024. In the case that total number of hosts is greater than the minimum, each host will be allocated a single virtual node. This field is limited to 8M to bound resource use.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }getMinimumRingSizeOrBuilder in interface Cluster.RingHashLbConfigOrBuilder@Deprecated public boolean hasDeprecatedV1()
Deprecated settings from v1 config. [#not-implemented-hide:] Hide from docs.
.envoy.api.v2.Cluster.RingHashLbConfig.DeprecatedV1 deprecated_v1 = 2 [deprecated = true];hasDeprecatedV1 in interface Cluster.RingHashLbConfigOrBuilder@Deprecated public Cluster.RingHashLbConfig.DeprecatedV1 getDeprecatedV1()
Deprecated settings from v1 config. [#not-implemented-hide:] Hide from docs.
.envoy.api.v2.Cluster.RingHashLbConfig.DeprecatedV1 deprecated_v1 = 2 [deprecated = true];getDeprecatedV1 in interface Cluster.RingHashLbConfigOrBuilder@Deprecated public Cluster.RingHashLbConfig.DeprecatedV1OrBuilder getDeprecatedV1OrBuilder()
Deprecated settings from v1 config. [#not-implemented-hide:] Hide from docs.
.envoy.api.v2.Cluster.RingHashLbConfig.DeprecatedV1 deprecated_v1 = 2 [deprecated = true];getDeprecatedV1OrBuilder in interface Cluster.RingHashLbConfigOrBuilderpublic int getHashFunctionValue()
The hash function used to hash hosts onto the ketama ring. The value defaults to :ref:`XX_HASH<envoy_api_enum_value_Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
.envoy.api.v2.Cluster.RingHashLbConfig.HashFunction hash_function = 3 [(.validate.rules) = { ... }getHashFunctionValue in interface Cluster.RingHashLbConfigOrBuilderpublic Cluster.RingHashLbConfig.HashFunction getHashFunction()
The hash function used to hash hosts onto the ketama ring. The value defaults to :ref:`XX_HASH<envoy_api_enum_value_Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
.envoy.api.v2.Cluster.RingHashLbConfig.HashFunction hash_function = 3 [(.validate.rules) = { ... }getHashFunction in interface Cluster.RingHashLbConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Cluster.RingHashLbConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.RingHashLbConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.RingHashLbConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.RingHashLbConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.RingHashLbConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.RingHashLbConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.RingHashLbConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.RingHashLbConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.RingHashLbConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.RingHashLbConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.RingHashLbConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cluster.RingHashLbConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cluster.RingHashLbConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cluster.RingHashLbConfig.Builder newBuilder()
public static Cluster.RingHashLbConfig.Builder newBuilder(Cluster.RingHashLbConfig prototype)
public Cluster.RingHashLbConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cluster.RingHashLbConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cluster.RingHashLbConfig getDefaultInstance()
public static com.google.protobuf.Parser<Cluster.RingHashLbConfig> parser()
public com.google.protobuf.Parser<Cluster.RingHashLbConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cluster.RingHashLbConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2019 The Envoy Project. All rights reserved.