Enum Constant Summary
Enum Constants
Enum Constant
Description
ADMIN
server admin command.
ASKING
cluster related - accept even if importing.
DENYOOM
reject command if currently OOM.
FAST
command operates in constant or log(N) time.
LOADING
allow command while database is loading.
MOVABLEKEYS
keys have no pre-determined position.
NOSCRIPT
deny this command from scripts.
PUBSUB
pubsub-related command.
RANDOM
command has random results, dangerous for scripts.
READONLY
command will never modify keys.
SKIP_MONITOR
do not show this command in MONITOR.
SORT_FOR_SCRIPT
if called from script, sort output.
STALE
allow command while replica has stale data.
WRITE
command may result in modifications.
Method Summary
All Methods Static Methods Concrete Methods
Modifier and Type
Method
Description
static CommandDetail.Flag
valueOf (String name)
Returns the enum constant of this type with the specified name.
static CommandDetail.Flag []
values ()
Returns an array containing the constants of this enum type, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
WRITE
command may result in modifications.
READONLY
command will never modify keys.
DENYOOM
reject command if currently OOM.
ADMIN
server admin command.
PUBSUB
pubsub-related command.
NOSCRIPT
deny this command from scripts.
RANDOM
command has random results, dangerous for scripts.
SORT_FOR_SCRIPT
if called from script, sort output.
LOADING
allow command while database is loading.
STALE
allow command while replica has stale data.
SKIP_MONITOR
do not show this command in MONITOR.
ASKING
cluster related - accept even if importing.
FAST
command operates in constant or log(N) time. Used for latency monitoring.
MOVABLEKEYS
keys have no pre-determined position. You must discover keys yourself.
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null