public static enum CommandFlagsRegistry.RequestPolicy extends java.lang.Enum<CommandFlagsRegistry.RequestPolicy>
Policy values:
| Enum Constant and Description |
|---|
ALL_NODES |
ALL_SHARDS |
DEFAULT |
MULTI_SHARD |
SPECIAL |
| Modifier and Type | Method and Description |
|---|---|
static CommandFlagsRegistry.RequestPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandFlagsRegistry.RequestPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandFlagsRegistry.RequestPolicy DEFAULT
public static final CommandFlagsRegistry.RequestPolicy ALL_NODES
public static final CommandFlagsRegistry.RequestPolicy ALL_SHARDS
public static final CommandFlagsRegistry.RequestPolicy MULTI_SHARD
public static final CommandFlagsRegistry.RequestPolicy SPECIAL
public static CommandFlagsRegistry.RequestPolicy[] values()
for (CommandFlagsRegistry.RequestPolicy c : CommandFlagsRegistry.RequestPolicy.values()) System.out.println(c);
public static CommandFlagsRegistry.RequestPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2026. All rights reserved.