Enum CommandDetail.Flag

    • Enum Constant Detail

      • 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.
      • 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 Detail

      • values

        public static CommandDetail.Flag[] 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 (CommandDetail.Flag c : CommandDetail.Flag.values())
            System.out.println(c);
        
        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