public enum LoadBalancingStrategy extends Enum<LoadBalancingStrategy>
| Enum Constant and Description |
|---|
BALANCED
The event processor will use a steady approach to claim ownership of partitions and slowly trend
towards a stable state where all active processors will have an even distribution of Event Hub partitions.
|
GREEDY
The event processor will attempt to claim its fair share of partition ownership greedily.
|
| Modifier and Type | Method and Description |
|---|---|
static LoadBalancingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadBalancingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadBalancingStrategy BALANCED
public static final LoadBalancingStrategy GREEDY
public static LoadBalancingStrategy[] values()
public static LoadBalancingStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 Microsoft Corporation. All rights reserved.