public enum MaxCommandAction extends Enum<MaxCommandAction>
Enum Constant and Description |
---|
ACCEPT
Accept and process command.
|
BLOCK
Block until a previous command completes.
|
REJECT
Reject database command.
|
Modifier and Type | Method and Description |
---|---|
static MaxCommandAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaxCommandAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaxCommandAction ACCEPT
public static final MaxCommandAction REJECT
public static final MaxCommandAction BLOCK
public static MaxCommandAction[] values()
for (MaxCommandAction c : MaxCommandAction.values()) System.out.println(c);
public static MaxCommandAction 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 © 2012–2015 Aerospike, Inc. All rights reserved.