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

redis.clients.jedis.commands.SampleBinaryKeyedPipelineCommands Maven / Gradle / Ivy

The newest version!
package redis.clients.jedis.commands;

import java.util.List;
import redis.clients.jedis.Response;
import redis.clients.jedis.args.FlushMode;
import redis.clients.jedis.util.KeyValue;

public interface SampleBinaryKeyedPipelineCommands {

  Response waitReplicas(byte[] sampleKey, int replicas, long timeout);

  Response> waitAOF(byte[] sampleKey, long numLocal, long numReplicas, long timeout);

  Response eval(byte[] script, byte[] sampleKey);

  Response evalsha(byte[] sha1, byte[] sampleKey);
//
//  Response scriptExists(byte[] sha1, byte[] sampleKey);

  Response> scriptExists(byte[] sampleKey, byte[]... sha1s);

  Response scriptLoad(byte[] script, byte[] sampleKey);

  Response scriptFlush(byte[] sampleKey);

  Response scriptFlush(byte[] sampleKey, FlushMode flushMode);

  Response scriptKill(byte[] sampleKey);
}