
com.redislabs.redisai.Device Maven / Gradle / Ivy
The newest version!
package com.redislabs.redisai;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;
public enum Device implements ProtocolCommand {
CPU,
GPU;
private final byte[] raw;
Device() {
raw = SafeEncoder.encode(name());
}
@Override
public byte[] getRaw() {
return raw;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy