Module lettuce.core

Enum AclCategory

java.lang.Object
java.lang.Enum<AclCategory>
io.lettuce.core.AclCategory
All Implemented Interfaces:
Serializable, Comparable<AclCategory>, java.lang.constant.Constable

public enum AclCategory
extends Enum<AclCategory>
Enum object describing Redis ACL categories.
Since:
6.1
Author:
Mikhael Sokolov
  • Enum Constant Details

    • 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 Details

    • values

      public static AclCategory[] 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

      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 name
      NullPointerException - if the argument is null