Class ExpireCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.ExpireCommand
-
- All Implemented Interfaces:
Command
,Event
,Serializable
@CommandSpec(command="EXPIRE") public class ExpireCommand extends GenericKeyCommand
- Since:
- 2.1.0
- Author:
- Leon Chen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
Field Summary
-
Fields inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
Constructor Summary
Constructors Constructor Description ExpireCommand()
ExpireCommand(byte[] key, int ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEx()
void
setEx(int ex)
-
Methods inherited from class com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
getKey, setKey
-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-