Class SetNxCommand
- 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.GenericKeyValueCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.SetNxCommand
-
- All Implemented Interfaces:
Command
,Event
,Serializable
@CommandSpec(command="SETNX") public class SetNxCommand extends GenericKeyValueCommand
- 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 SetNxCommand()
SetNxCommand(byte[] key, byte[] value)
-
Method Summary
-
Methods inherited from class com.moilioncircle.redis.replicator.cmd.impl.GenericKeyValueCommand
getValue, setValue
-
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
-
-