Class DecrByCommand
- 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.DecrByCommand
-
- All Implemented Interfaces:
Command
,Event
,Serializable
@CommandSpec(command="DECRBY") public class DecrByCommand 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 DecrByCommand()
DecrByCommand(byte[] key, long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getValue()
void
setValue(long value)
-
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
-
-