All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.params.MigrateParams Maven / Gradle / Ivy

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy