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

redis.clients.jedis.args.ClientPauseMode Maven / Gradle / Ivy

The newest version!
package redis.clients.jedis.args;

import redis.clients.jedis.util.SafeEncoder;

/**
 * Client pause supported modes.
 */
public enum ClientPauseMode implements Rawable {

  ALL, WRITE;

  private final byte[] raw;

  private ClientPauseMode() {
    raw = SafeEncoder.encode(name());
  }

  @Override
  public byte[] getRaw() {
    return raw;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy