com.moilioncircle.redis.replicator.cmd.impl.XSetIdCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redis-replicator Show documentation
Show all versions of redis-replicator Show documentation
Redis Replicator is a redis RDB and Command parser written in java.
It can parse,filter,broadcast the RDB and Command events in a real time manner.
It also can synchronize redis data to your local cache or to database.
package com.moilioncircle.redis.replicator.cmd.impl;
import com.moilioncircle.redis.replicator.cmd.Command;
/**
* @author Leon Chen
* @since 2.6.1
*/
public class XSetIdCommand implements Command {
private static final long serialVersionUID = 1L;
private byte[] key;
private byte[] id;
public XSetIdCommand() {
}
public XSetIdCommand(byte[] key, byte[] id) {
this.key = key;
this.id = id;
}
public byte[] getKey() {
return key;
}
public void setKey(byte[] key) {
this.key = key;
}
public byte[] getId() {
return id;
}
public void setId(byte[] id) {
this.id = id;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy