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

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

package redis.clients.jedis.commands;

import java.util.List;
import java.util.Set;

import redis.clients.jedis.Response;
import redis.clients.jedis.args.ExpiryOption;
import redis.clients.jedis.params.MigrateParams;
import redis.clients.jedis.params.RestoreParams;
import redis.clients.jedis.params.ScanParams;
import redis.clients.jedis.params.SortingParams;
import redis.clients.jedis.resps.ScanResult;

public interface KeyPipelineBinaryCommands {

  Response exists(byte[] key);

  Response exists(byte[]... keys);

  Response persist(byte[] key);

  Response type(byte[] key);

  Response dump(byte[] key);

  Response restore(byte[] key, long ttl, byte[] serializedValue);

  Response restore(byte[] key, long ttl, byte[] serializedValue, RestoreParams params);

  Response expire(byte[] key, long seconds);

  Response expire(byte[] key, long seconds, ExpiryOption expiryOption);

  Response pexpire(byte[] key, long milliseconds);

  Response pexpire(byte[] key, long milliseconds, ExpiryOption expiryOption);

  Response expireTime(byte[] key);

  Response pexpireTime(byte[] key);

  Response expireAt(byte[] key, long unixTime);

  Response expireAt(byte[] key, long unixTime, ExpiryOption expiryOption);

  Response pexpireAt(byte[] key, long millisecondsTimestamp);

  Response pexpireAt(byte[] key, long millisecondsTimestamp, ExpiryOption expiryOption);

  Response ttl(byte[] key);

  Response pttl(byte[] key);

  Response touch(byte[] key);

  Response touch(byte[]... keys);

  Response> sort(byte[] key);

  Response> sort(byte[] key, SortingParams sortingParams);

  Response> sortReadonly(byte[] key, SortingParams sortingParams);

  Response del(byte[] key);

  Response del(byte[]... keys);

  Response unlink(byte[] key);

  Response unlink(byte[]... keys);

  Response copy(byte[] srcKey, byte[] dstKey, boolean replace);

  Response rename(byte[] oldkey, byte[] newkey);

  Response renamenx(byte[] oldkey, byte[] newkey);

  Response sort(byte[] key, SortingParams sortingParams, byte[] dstkey);

  Response sort(byte[] key, byte[] dstkey);

  Response memoryUsage(byte[] key);

  Response memoryUsage(byte[] key, int samples);

  Response objectRefcount(byte[] key);

  Response objectEncoding(byte[] key);

  Response objectIdletime(byte[] key);

  Response objectFreq(byte[] key);

  Response migrate(String host, int port, byte[] key, int timeout);

  Response migrate(String host, int port, int timeout, MigrateParams params, byte[]... keys);

  Response> keys(byte[] pattern);

  Response> scan(byte[] cursor);

  Response> scan(byte[] cursor, ScanParams params);

  Response> scan(byte[] cursor, ScanParams params, byte[] type);

  Response randomBinaryKey();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy