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

redis.clients.jedis.commands.SampleKeyedPipelineCommands 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 SampleKeyedPipelineCommands {

  Response waitReplicas(String sampleKey, int replicas, long timeout);

  Response> waitAOF(String sampleKey, long numLocal, long numReplicas, long timeout);

  Response eval(String script, String sampleKey);

  Response evalsha(String sha1, String sampleKey);
//
//  Response scriptExists(String sha1, String sampleKey);

  Response> scriptExists(String sampleKey, String... sha1);

  Response scriptLoad(String script, String sampleKey);

  Response scriptFlush(String sampleKey);

  Response scriptFlush(String sampleKey, FlushMode flushMode);

  Response scriptKill(String sampleKey);
}