Package cn.com.anysdk.redis.event
Enum Class RedisErrorEvent.ErrorType
- All Implemented Interfaces:
Serializable,Comparable<RedisErrorEvent.ErrorType>,Constable
- Enclosing class:
RedisErrorEvent
错误类型枚举
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription阿里云特有错误命令错误连接错误环境错误未知错误 -
Method Summary
Modifier and TypeMethodDescriptionstatic RedisErrorEvent.ErrorTypeReturns the enum constant of this class with the specified name.static RedisErrorEvent.ErrorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTION_ERROR
连接错误 -
COMMAND_ERROR
命令错误 -
ENVIRONMENT_ERROR
环境错误 -
ALIYUN_ERROR
阿里云特有错误 -
UNKNOWN_ERROR
未知错误
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-