Module lettuce.core

Enum CommandDetail.Flag

java.lang.Object
java.lang.Enum<CommandDetail.Flag>
io.lettuce.core.models.command.CommandDetail.Flag
All Implemented Interfaces:
Serializable, Comparable<CommandDetail.Flag>, java.lang.constant.Constable
Enclosing class:
CommandDetail

public static enum CommandDetail.Flag
extends Enum<CommandDetail.Flag>
  • Enum Constant Details

    • WRITE

      public static final CommandDetail.Flag WRITE
      command may result in modifications.
    • READONLY

      public static final CommandDetail.Flag READONLY
      command will never modify keys.
    • DENYOOM

      public static final CommandDetail.Flag DENYOOM
      reject command if currently OOM.
    • ADMIN

      public static final CommandDetail.Flag ADMIN
      server admin command.
    • PUBSUB

      public static final CommandDetail.Flag PUBSUB
      pubsub-related command.
    • NOSCRIPT

      public static final CommandDetail.Flag NOSCRIPT
      deny this command from scripts.
    • RANDOM

      public static final CommandDetail.Flag RANDOM
      command has random results, dangerous for scripts.
    • SORT_FOR_SCRIPT

      public static final CommandDetail.Flag SORT_FOR_SCRIPT
      if called from script, sort output.
    • LOADING

      public static final CommandDetail.Flag LOADING
      allow command while database is loading.
    • STALE

      public static final CommandDetail.Flag STALE
      allow command while replica has stale data.
    • SKIP_MONITOR

      public static final CommandDetail.Flag SKIP_MONITOR
      do not show this command in MONITOR.
    • ASKING

      public static final CommandDetail.Flag ASKING
      cluster related - accept even if importing.
    • FAST

      public static final CommandDetail.Flag FAST
      command operates in constant or log(N) time. Used for latency monitoring.
    • MOVABLEKEYS

      public static final CommandDetail.Flag MOVABLEKEYS
      keys have no pre-determined position. You must discover keys yourself.
  • Method Details

    • values

      public static CommandDetail.Flag[] 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 CommandDetail.Flag 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