Class XSetIdCommand
- 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.XSetIdCommand
-
- All Implemented Interfaces:
Command,Event,Serializable
@CommandSpec(command="XSETID") public class XSetIdCommand extends GenericKeyCommand
- Since:
- 2.6.1
- 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 XSetIdCommand()XSetIdCommand(byte[] key, byte[] id)XSetIdCommand(byte[] key, byte[] id, Long entriesAdded, byte[] maxDeletedEntryId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetEntriesAdded()byte[]getId()byte[]getMaxDeletedEntryId()voidsetEntriesAdded(Long entriesAdded)voidsetId(byte[] id)voidsetMaxDeletedEntryId(byte[] maxDeletedEntryId)-
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
-
-
-
-
Constructor Detail
-
XSetIdCommand
public XSetIdCommand()
-
XSetIdCommand
public XSetIdCommand(byte[] key, byte[] id)
-
XSetIdCommand
public XSetIdCommand(byte[] key, byte[] id, Long entriesAdded, byte[] maxDeletedEntryId)
-
-
Method Detail
-
getId
public byte[] getId()
-
setId
public void setId(byte[] id)
-
getEntriesAdded
public Long getEntriesAdded()
-
setEntriesAdded
public void setEntriesAdded(Long entriesAdded)
-
getMaxDeletedEntryId
public byte[] getMaxDeletedEntryId()
-
setMaxDeletedEntryId
public void setMaxDeletedEntryId(byte[] maxDeletedEntryId)
-
-