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

com.redislabs.redisai.Device Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show 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(this.name());
  }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy