Package io.lettuce.core
Enum AclCategory
- java.lang.Object
-
- java.lang.Enum<AclCategory>
-
- io.lettuce.core.AclCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<AclCategory>
public enum AclCategory extends Enum<AclCategory>
Enum object describing Redis ACL categories.- Since:
- 6.1
- Author:
- Mikhael Sokolov
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN
admin commandBITMAP
command for bitmapsBLOCKING
blocking commandCONNECTION
connection-establishing commandDANGEROUS
dangerous commandFAST
fast commandGEO
geo commandHASH
command for hash opsHYPERLOGLOG
command for hyperloglogKEYSPACE
command affects keyspaceLIST
command for listsPUBSUB
pubsub commandREAD
read commandSCRIPTING
scripting commandSET
command for setsSLOW
slow commandSORTEDSET
command for sorted setsSTREAM
streaming commandSTRING
command for stringsTRANSACTION
transactional commandWRITE
write command
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AclCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static AclCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEYSPACE
public static final AclCategory KEYSPACE
command affects keyspace
-
READ
public static final AclCategory READ
read command
-
WRITE
public static final AclCategory WRITE
write command
-
SET
public static final AclCategory SET
command for sets
-
SORTEDSET
public static final AclCategory SORTEDSET
command for sorted sets
-
LIST
public static final AclCategory LIST
command for lists
-
HASH
public static final AclCategory HASH
command for hash ops
-
STRING
public static final AclCategory STRING
command for strings
-
BITMAP
public static final AclCategory BITMAP
command for bitmaps
-
HYPERLOGLOG
public static final AclCategory HYPERLOGLOG
command for hyperloglog
-
GEO
public static final AclCategory GEO
geo command
-
STREAM
public static final AclCategory STREAM
streaming command
-
PUBSUB
public static final AclCategory PUBSUB
pubsub command
-
ADMIN
public static final AclCategory ADMIN
admin command
-
FAST
public static final AclCategory FAST
fast command
-
SLOW
public static final AclCategory SLOW
slow command
-
BLOCKING
public static final AclCategory BLOCKING
blocking command
-
DANGEROUS
public static final AclCategory DANGEROUS
dangerous command
-
CONNECTION
public static final AclCategory CONNECTION
connection-establishing command
-
TRANSACTION
public static final AclCategory TRANSACTION
transactional command
-
SCRIPTING
public static final AclCategory SCRIPTING
scripting command
-
-
Method Detail
-
values
public static AclCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AclCategory c : AclCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AclCategory valueOf(String name)
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 nameNullPointerException
- if the argument is null
-
-