redis.clients.jedis.params.MigrateParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.params;
public class MigrateParams extends Params {
private static final String COPY = "COPY";
private static final String REPLACE = "REPLACE";
public MigrateParams() {
}
public static MigrateParams migrateParams() {
return new MigrateParams();
}
public MigrateParams copy() {
addParam(COPY);
return this;
}
public MigrateParams replace() {
addParam(REPLACE);
return this;
}
}