
redis.clients.jedis.args.ListDirection 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;
/**
* Direction for {@code LMOVE} and {@code BLMOVE} command.
*/
public enum ListDirection implements Rawable {
LEFT, RIGHT;
private final byte[] raw;
private ListDirection() {
raw = SafeEncoder.encode(name());
}
@Override
public byte[] getRaw() {
return raw;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy