redis.clients.jedis.args.ClientAttributeOption 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.
package redis.clients.jedis.args;
import redis.clients.jedis.util.SafeEncoder;
/**
* CLIENT SETINFO command attr option
* since redis 7.2
*/
public enum ClientAttributeOption implements Rawable {
LIB_NAME("LIB-NAME"),
LIB_VER("LIB-VER");
private final byte[] raw;
private ClientAttributeOption(String str) {
this.raw = SafeEncoder.encode(str);
}
@Override
public byte[] getRaw() {
return raw;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy