Package com.github.sonus21.rqueue.core
Enum RedisScriptFactory.ScriptType
- java.lang.Object
-
- java.lang.Enum<RedisScriptFactory.ScriptType>
-
- com.github.sonus21.rqueue.core.RedisScriptFactory.ScriptType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RedisScriptFactory.ScriptType>
- Enclosing class:
- RedisScriptFactory
public static enum RedisScriptFactory.ScriptType extends java.lang.Enum<RedisScriptFactory.ScriptType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPath()
static RedisScriptFactory.ScriptType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RedisScriptFactory.ScriptType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENQUEUE_MESSAGE
public static final RedisScriptFactory.ScriptType ENQUEUE_MESSAGE
-
DEQUEUE_MESSAGE
public static final RedisScriptFactory.ScriptType DEQUEUE_MESSAGE
-
MOVE_MESSAGE_TO_ZSET
public static final RedisScriptFactory.ScriptType MOVE_MESSAGE_TO_ZSET
-
MOVE_MESSAGE_TO_LIST
public static final RedisScriptFactory.ScriptType MOVE_MESSAGE_TO_LIST
-
MOVE_EXPIRED_MESSAGE
public static final RedisScriptFactory.ScriptType MOVE_EXPIRED_MESSAGE
-
MOVE_MESSAGE_LIST_TO_LIST
public static final RedisScriptFactory.ScriptType MOVE_MESSAGE_LIST_TO_LIST
-
MOVE_MESSAGE_LIST_TO_ZSET
public static final RedisScriptFactory.ScriptType MOVE_MESSAGE_LIST_TO_ZSET
-
MOVE_MESSAGE_ZSET_TO_ZSET
public static final RedisScriptFactory.ScriptType MOVE_MESSAGE_ZSET_TO_ZSET
-
MOVE_MESSAGE_ZSET_TO_LIST
public static final RedisScriptFactory.ScriptType MOVE_MESSAGE_ZSET_TO_LIST
-
SCHEDULE_MESSAGE
public static final RedisScriptFactory.ScriptType SCHEDULE_MESSAGE
-
DELETE_IF_SAME
public static final RedisScriptFactory.ScriptType DELETE_IF_SAME
-
-
Method Detail
-
values
public static RedisScriptFactory.ScriptType[] 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 (RedisScriptFactory.ScriptType c : RedisScriptFactory.ScriptType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedisScriptFactory.ScriptType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getPath
public java.lang.String getPath()
-
-