redis.clients.jedis.args.ClientPauseMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
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;
}
}