Class BLMoveCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.BLMoveCommand
-
- All Implemented Interfaces:
Command,Event,Serializable
@CommandSpec(command="BLMOVE") public class BLMoveCommand extends AbstractCommand
- Since:
- 3.5.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 BLMoveCommand()BLMoveCommand(byte[] source, byte[] destination, DirectionType from, DirectionType to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getDestination()DirectionTypegetFrom()byte[]getSource()DirectionTypegetTo()voidsetDestination(byte[] destination)voidsetFrom(DirectionType from)voidsetSource(byte[] source)voidsetTo(DirectionType to)-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
Constructor Detail
-
BLMoveCommand
public BLMoveCommand()
-
BLMoveCommand
public BLMoveCommand(byte[] source, byte[] destination, DirectionType from, DirectionType to)
-
-
Method Detail
-
getSource
public byte[] getSource()
-
setSource
public void setSource(byte[] source)
-
getDestination
public byte[] getDestination()
-
setDestination
public void setDestination(byte[] destination)
-
getFrom
public DirectionType getFrom()
-
setFrom
public void setFrom(DirectionType from)
-
getTo
public DirectionType getTo()
-
setTo
public void setTo(DirectionType to)
-
-