redis.clients.jedis.commands.KeyPipelineCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.commands;
import java.util.List;
import java.util.Set;
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;
import redis.clients.jedis.Response;
public interface KeyPipelineCommands {
Response exists(String key);
Response exists(String... keys);
Response persist(String key);
Response type(String key);
Response dump(String key);
Response restore(String key, long ttl, byte[] serializedValue);
Response restore(String key, long ttl, byte[] serializedValue, RestoreParams params);
Response expire(String key, long seconds);
Response expire(String key, long seconds, ExpiryOption expiryOption);
Response pexpire(String key, long milliseconds);
Response pexpire(String key, long milliseconds, ExpiryOption expiryOption);
Response expireTime(String key);
Response pexpireTime(String key);
Response expireAt(String key, long unixTime);
Response expireAt(String key, long unixTime, ExpiryOption expiryOption);
Response pexpireAt(String key, long millisecondsTimestamp);
Response pexpireAt(String key, long millisecondsTimestamp, ExpiryOption expiryOption);
Response ttl(String key);
Response pttl(String key);
Response touch(String key);
Response touch(String... keys);
Response> sort(String key);
Response sort(String key, String dstkey);
Response> sort(String key, SortingParams sortingParams);
Response sort(String key, SortingParams sortingParams, String dstkey);
Response> sortReadonly(String key, SortingParams sortingParams);
Response del(String key);
Response del(String... keys);
Response unlink(String key);
Response unlink(String... keys);
Response copy(String srcKey, String dstKey, boolean replace);
Response rename(String oldkey, String newkey);
Response renamenx(String oldkey, String newkey);
Response memoryUsage(String key);
Response memoryUsage(String key, int samples);
Response objectRefcount(String key);
Response objectEncoding(String key);
Response objectIdletime(String key);
Response objectFreq(String key);
Response migrate(String host, int port, String key, int timeout);
Response migrate(String host, int port, int timeout, MigrateParams params, String... keys);
Response> keys(String pattern);
Response> scan(String cursor);
Response> scan(String cursor, ScanParams params);
Response> scan(String cursor, ScanParams params, String type);
Response randomKey();
}