public enum BuiltinExchangeType extends Enum<BuiltinExchangeType>
| Enum Constant and Description |
|---|
CONSISTENT_HASH |
DIRECT |
FANOUT |
HEADERS |
LOCAL_RANDOM |
MODULUS_HASH |
RANDOM |
TOPIC |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static BuiltinExchangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltinExchangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltinExchangeType DIRECT
public static final BuiltinExchangeType FANOUT
public static final BuiltinExchangeType TOPIC
public static final BuiltinExchangeType HEADERS
public static final BuiltinExchangeType CONSISTENT_HASH
public static final BuiltinExchangeType MODULUS_HASH
public static final BuiltinExchangeType LOCAL_RANDOM
public static final BuiltinExchangeType RANDOM
public static BuiltinExchangeType[] values()
for (BuiltinExchangeType c : BuiltinExchangeType.values()) System.out.println(c);
public static BuiltinExchangeType 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 nullpublic String getType()
Copyright © 2026 Broadcom Inc. and its subsidiaries.. All rights reserved.