Interface UdpProxyConfig.HashPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UdpProxyConfig.HashPolicy,UdpProxyConfig.HashPolicy.Builder
- Enclosing class:
- UdpProxyConfig
public static interface UdpProxyConfig.HashPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()A given key will be used to compute the hash used by hash-based load balancing algorithms.com.google.protobuf.ByteStringgetKeyBytes()A given key will be used to compute the hash used by hash-based load balancing algorithms.UdpProxyConfig.HashPolicy.PolicySpecifierCasegetPolicySpecifierCase()booleangetSourceIp()The source IP will be used to compute the hash used by hash-based load balancing algorithms.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSourceIp
boolean getSourceIp()
The source IP will be used to compute the hash used by hash-based load balancing algorithms.
bool source_ip = 1 [(.validate.rules) = { ... }
-
getKey
String getKey()
A given key will be used to compute the hash used by hash-based load balancing algorithms. In certain cases there is a need to direct different UDP streams jointly towards the selected set of endpoints. A possible use-case is VoIP telephony, where media (RTP) and its corresponding control (RTCP) belong to the same logical session, although they travel in separate streams. To ensure that these pair of streams are load-balanced on session level (instead of individual stream level), dynamically created listeners can use the same hash key for each stream in the session.
string key = 2 [(.validate.rules) = { ... }
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
A given key will be used to compute the hash used by hash-based load balancing algorithms. In certain cases there is a need to direct different UDP streams jointly towards the selected set of endpoints. A possible use-case is VoIP telephony, where media (RTP) and its corresponding control (RTCP) belong to the same logical session, although they travel in separate streams. To ensure that these pair of streams are load-balanced on session level (instead of individual stream level), dynamically created listeners can use the same hash key for each stream in the session.
string key = 2 [(.validate.rules) = { ... }
-
getPolicySpecifierCase
UdpProxyConfig.HashPolicy.PolicySpecifierCase getPolicySpecifierCase()
-
-