Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright 2017 ~ 2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wl4g.component.support.cache.jedis;
import java.io.Closeable;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import redis.clients.jedis.AccessControlLogEntry;
import redis.clients.jedis.AccessControlUser;
import redis.clients.jedis.BinaryJedisPubSub;
import redis.clients.jedis.BitOP;
import redis.clients.jedis.BitPosParams;
import redis.clients.jedis.ClusterReset;
import redis.clients.jedis.DebugParams;
import redis.clients.jedis.GeoCoordinate;
import redis.clients.jedis.GeoRadiusResponse;
import redis.clients.jedis.GeoUnit;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisCluster;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPubSub;
import redis.clients.jedis.ListPosition;
import redis.clients.jedis.Module;
import redis.clients.jedis.ScanParams;
import redis.clients.jedis.ScanResult;
import redis.clients.jedis.SortingParams;
import redis.clients.jedis.StreamConsumersInfo;
import redis.clients.jedis.StreamEntry;
import redis.clients.jedis.StreamEntryID;
import redis.clients.jedis.StreamGroupInfo;
import redis.clients.jedis.StreamInfo;
import redis.clients.jedis.StreamPendingEntry;
import redis.clients.jedis.StreamPendingSummary;
import redis.clients.jedis.Tuple;
import redis.clients.jedis.ZParams;
import redis.clients.jedis.args.FlushMode;
import redis.clients.jedis.args.ListDirection;
import redis.clients.jedis.args.UnblockType;
import redis.clients.jedis.params.ClientKillParams;
import redis.clients.jedis.params.GeoAddParams;
import redis.clients.jedis.params.GeoRadiusParam;
import redis.clients.jedis.params.GeoRadiusStoreParam;
import redis.clients.jedis.params.GetExParams;
import redis.clients.jedis.params.LPosParams;
import redis.clients.jedis.params.MigrateParams;
import redis.clients.jedis.params.RestoreParams;
import redis.clients.jedis.params.SetParams;
import redis.clients.jedis.params.XAddParams;
import redis.clients.jedis.params.XClaimParams;
import redis.clients.jedis.params.XPendingParams;
import redis.clients.jedis.params.XReadGroupParams;
import redis.clients.jedis.params.XReadParams;
import redis.clients.jedis.params.XTrimParams;
import redis.clients.jedis.params.ZAddParams;
import redis.clients.jedis.params.ZIncrByParams;
import redis.clients.jedis.resps.KeyedListElement;
import redis.clients.jedis.resps.KeyedZSetElement;
import redis.clients.jedis.util.Slowlog;
/**
* Composite {@link Jedis} and {@link JedisCluster} facade adapter.
*
*
* Synchronization of jedis code process description:
* Use the following shell command to remove the completely duplicate methods
* (method name and parameter list) of {@link Jedis} and {@link JedisCluster} :
*
*
* cat JedisClient.java|grep default|sort -u
*
*
*
* @author Wangl.sir <[email protected], [email protected]>
* @version 2020年7月18日 v1.0.0
* @see jedis-3.6.1
*/
@SuppressWarnings("unchecked")
public interface JedisClient extends Closeable {
// JedisCommands
default Map getClusterNodes() {
throw new UnsupportedOperationException();
}
default AccessControlUser aclGetUser(byte[] name) {
throw new UnsupportedOperationException();
}
default AccessControlUser aclGetUser(String name) {
throw new UnsupportedOperationException();
}
default Boolean copy(byte[] srcKey, byte[] dstKey, boolean replace) {
throw new UnsupportedOperationException();
}
default Boolean copy(byte[] srcKey, byte[] dstKey, int db, boolean replace) {
throw new UnsupportedOperationException();
}
default Boolean copy(String srcKey, String dstKey, boolean replace) {
throw new UnsupportedOperationException();
}
default Boolean copy(String srcKey, String dstKey, int db, boolean replace) {
throw new UnsupportedOperationException();
}
default Boolean exists(byte[] key) {
throw new UnsupportedOperationException();
}
default Boolean exists(String key) {
throw new UnsupportedOperationException();
}
default Boolean getbit(byte[] key, long offset) {
throw new UnsupportedOperationException();
}
default Boolean getbit(String key, long offset) {
throw new UnsupportedOperationException();
}
default Boolean hexists(byte[] key, byte[] field) {
throw new UnsupportedOperationException();
}
default Boolean hexists(String key, String field) {
throw new UnsupportedOperationException();
}
default Boolean scriptExists(String sha1) {
throw new UnsupportedOperationException();
}
default Boolean scriptExists(String sha1, String sampleKey) {
throw new UnsupportedOperationException();
}
default Boolean setbit(byte[] key, long offset, boolean value) {
throw new UnsupportedOperationException();
}
default Boolean setbit(byte[] key, long offset, byte[] value) {
throw new UnsupportedOperationException();
}
default Boolean setbit(String key, long offset, boolean value) {
throw new UnsupportedOperationException();
}
default Boolean setbit(String key, long offset, String value) {
throw new UnsupportedOperationException();
}
default Boolean sismember(byte[] key, byte[] member) {
throw new UnsupportedOperationException();
}
default Boolean sismember(String key, String member) {
throw new UnsupportedOperationException();
}
default byte[] aclGenPassBinary() {
throw new UnsupportedOperationException();
}
default byte[] aclLog(byte[] options) {
throw new UnsupportedOperationException();
}
default byte[] aclWhoAmIBinary() {
throw new UnsupportedOperationException();
}
default byte[] blmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to, double timeout) {
throw new UnsupportedOperationException();
}
default byte[] brpoplpush(byte[] source, byte[] destination, int timeout) {
throw new UnsupportedOperationException();
}
default byte[] clientGetnameBinary() {
throw new UnsupportedOperationException();
}
default byte[] clientInfoBinary() {
throw new UnsupportedOperationException();
}
default byte[] clientListBinary() {
throw new UnsupportedOperationException();
}
default byte[] clientListBinary(long... clientIds) {
throw new UnsupportedOperationException();
}
default byte[] configSet(byte[] parameter, byte[] value) {
throw new UnsupportedOperationException();
}
default byte[] dump(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] dump(String key) {
throw new UnsupportedOperationException();
}
default byte[] echo(byte[] arg) {
throw new UnsupportedOperationException();
}
default byte[] get(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] getDel(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] getEx(byte[] key, GetExParams params) {
throw new UnsupportedOperationException();
}
default byte[] getrange(byte[] key, long startOffset, long endOffset) {
throw new UnsupportedOperationException();
}
default byte[] getSet(byte[] key, byte[] value) {
throw new UnsupportedOperationException();
}
default byte[] hget(byte[] key, byte[] field) {
throw new UnsupportedOperationException();
}
default byte[] hrandfield(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] lindex(byte[] key, long index) {
throw new UnsupportedOperationException();
}
default byte[] lmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to) {
throw new UnsupportedOperationException();
}
default byte[] lpop(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] memoryDoctorBinary() {
throw new UnsupportedOperationException();
}
default byte[] objectEncoding(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] randomBinaryKey() {
throw new UnsupportedOperationException();
}
default byte[] rpop(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] rpoplpush(byte[] srckey, byte[] dstkey) {
throw new UnsupportedOperationException();
}
default byte[] scriptLoad(byte[] script) {
throw new UnsupportedOperationException();
}
default byte[] scriptLoad(byte[] script, byte[] sampleKey) {
throw new UnsupportedOperationException();
}
default byte[] spop(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] srandmember(byte[] key) {
throw new UnsupportedOperationException();
}
default byte[] substr(byte[] key, int start, int end) {
throw new UnsupportedOperationException();
}
default byte[] xadd(byte[] key, byte[] id, Map hash, long maxLen, boolean approximateLength) {
throw new UnsupportedOperationException();
}
default byte[] xadd(byte[] key, Map hash, XAddParams params) {
throw new UnsupportedOperationException();
}
default byte[] zrandmember(byte[] key) {
throw new UnsupportedOperationException();
}
default Double geodist(byte[] key, byte[] member1, byte[] member2) {
throw new UnsupportedOperationException();
}
default Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default Double geodist(String key, String member1, String member2) {
throw new UnsupportedOperationException();
}
default Double geodist(String key, String member1, String member2, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default Double hincrByFloat(byte[] key, byte[] field, double value) {
throw new UnsupportedOperationException();
}
default Double hincrByFloat(String key, String field, double value) {
throw new UnsupportedOperationException();
}
default Double incrByFloat(byte[] key, double increment) {
throw new UnsupportedOperationException();
}
default Double incrByFloat(String key, double increment) {
throw new UnsupportedOperationException();
}
default Double zaddIncr(byte[] key, double score, byte[] member, ZAddParams params) {
throw new UnsupportedOperationException();
}
default Double zaddIncr(String key, double score, String member, ZAddParams params) {
throw new UnsupportedOperationException();
}
default Double zincrby(byte[] key, double increment, byte[] member) {
throw new UnsupportedOperationException();
}
default Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params) {
throw new UnsupportedOperationException();
}
default Double zincrby(String key, double increment, String member) {
throw new UnsupportedOperationException();
}
default Double zincrby(String key, double increment, String member, ZIncrByParams params) {
throw new UnsupportedOperationException();
}
default Double zscore(byte[] key, byte[] member) {
throw new UnsupportedOperationException();
}
default Double zscore(String key, String member) {
throw new UnsupportedOperationException();
}
default int getDB() {
throw new UnsupportedOperationException();
}
default KeyedListElement blpop(double timeout, String key) {
throw new UnsupportedOperationException();
}
default KeyedListElement blpop(double timeout, String... keys) {
throw new UnsupportedOperationException();
}
default KeyedListElement brpop(double timeout, String key) {
throw new UnsupportedOperationException();
}
default KeyedListElement brpop(double timeout, String... keys) {
throw new UnsupportedOperationException();
}
default KeyedZSetElement bzpopmax(double timeout, String... keys) {
throw new UnsupportedOperationException();
}
default KeyedZSetElement bzpopmin(double timeout, String... keys) {
throw new UnsupportedOperationException();
}
default List aclLog() {
throw new UnsupportedOperationException();
}
default List aclLog(int limit) {
throw new UnsupportedOperationException();
}
default List scriptExists(String sampleKey, String... sha1) {
throw new UnsupportedOperationException();
}
default List scriptExists(String... sha1) {
throw new UnsupportedOperationException();
}
default List smismember(byte[] key, byte[]... members) {
throw new UnsupportedOperationException();
}
default List smismember(String key, String... members) {
throw new UnsupportedOperationException();
}
default List aclCatBinary() {
throw new UnsupportedOperationException();
}
default List aclCat(byte[] category) {
throw new UnsupportedOperationException();
}
default List aclListBinary() {
throw new UnsupportedOperationException();
}
default List aclLogBinary() {
throw new UnsupportedOperationException();
}
default List aclLogBinary(int limit) {
throw new UnsupportedOperationException();
}
default List aclUsersBinary() {
throw new UnsupportedOperationException();
}
default List blpop(byte[]... args) {
throw new UnsupportedOperationException();
}
default List blpop(double timeout, byte[]... keys) {
throw new UnsupportedOperationException();
}
default List blpop(int timeout, byte[]... keys) {
throw new UnsupportedOperationException();
}
default List brpop(byte[]... args) {
throw new UnsupportedOperationException();
}
default List brpop(double timeout, byte[]... keys) {
throw new UnsupportedOperationException();
}
default List brpop(int timeout, byte[]... keys) {
throw new UnsupportedOperationException();
}
default List bzpopmax(double timeout, byte[]... keys) {
throw new UnsupportedOperationException();
}
default List bzpopmin(double timeout, byte[]... keys) {
throw new UnsupportedOperationException();
}
default List configGet(byte[] pattern) {
throw new UnsupportedOperationException();
}
default List geohash(byte[] key, byte[]... members) {
throw new UnsupportedOperationException();
}
default List hmget(byte[] key, byte[]... fields) {
throw new UnsupportedOperationException();
}
default List hrandfield(byte[] key, long count) {
throw new UnsupportedOperationException();
}
default List hvals(byte[] key) {
throw new UnsupportedOperationException();
}
default List lpop(byte[] key, int count) {
throw new UnsupportedOperationException();
}
default List lrange(byte[] key, long start, long stop) {
throw new UnsupportedOperationException();
}
default List mget(byte[]... keys) {
throw new UnsupportedOperationException();
}
default List objectHelpBinary() {
throw new UnsupportedOperationException();
}
default List rpop(byte[] key, int count) {
throw new UnsupportedOperationException();
}
default List sort(byte[] key) {
throw new UnsupportedOperationException();
}
default List sort(byte[] key, SortingParams sortingParameters) {
throw new UnsupportedOperationException();
}
default List srandmember(byte[] key, int count) {
throw new UnsupportedOperationException();
}
default List xclaim(byte[] key, byte[] group, byte[] consumername, long minIdleTime, XClaimParams params,
byte[]... ids) {
throw new UnsupportedOperationException();
}
default List xclaim$JedisCommands(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime,
long newIdleTime, int retries, boolean force, byte[]... ids) {
throw new UnsupportedOperationException();
}
default List xclaim$JedisClusterCommands(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime,
long newIdleTime, int retries, boolean force, byte[][] ids) {
throw new UnsupportedOperationException();
}
default List xclaimJustId(byte[] key, byte[] group, byte[] consumername, long minIdleTime, XClaimParams params,
byte[]... ids) {
throw new UnsupportedOperationException();
}
default List xrange(byte[] key, byte[] start, byte[] end) {
throw new UnsupportedOperationException();
}
default List xrange(byte[] key, byte[] start, byte[] end, int count) {
throw new UnsupportedOperationException();
}
default List xrange(byte[] key, byte[] start, byte[] end, long count) {
throw new UnsupportedOperationException();
}
default List xreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck,
Map streams) {
throw new UnsupportedOperationException();
}
default List xreadGroup(byte[] groupname, byte[] consumer, XReadGroupParams xReadGroupParams,
Entry... streams) {
throw new UnsupportedOperationException();
}
default List xread(int count, long block, Map streams) {
throw new UnsupportedOperationException();
}
default List xread(XReadParams xReadParams, Entry... streams) {
throw new UnsupportedOperationException();
}
default List xrevrange(byte[] key, byte[] end, byte[] start) {
throw new UnsupportedOperationException();
}
default List xrevrange(byte[] key, byte[] end, byte[] start, int count) {
throw new UnsupportedOperationException();
}
default List zmscore(byte[] key, byte[]... members) {
throw new UnsupportedOperationException();
}
default List zmscore(String key, String... members) {
throw new UnsupportedOperationException();
}
default List>> xreadGroup(String groupname, String consumer, int count, long block,
boolean noAck, Entry... streams) {
throw new UnsupportedOperationException();
}
default List>> xreadGroup(String groupname, String consumer,
XReadGroupParams xReadGroupParams, Map streams) {
throw new UnsupportedOperationException();
}
default List>> xread(int count, long block, Entry... streams) {
throw new UnsupportedOperationException();
}
default List>> xread(XReadParams xReadParams, Map streams) {
throw new UnsupportedOperationException();
}
default List geopos(byte[] key, byte[]... members) {
throw new UnsupportedOperationException();
}
default List geopos(String key, String... members) {
throw new UnsupportedOperationException();
}
default List georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List georadiusByMember(String key, String member, double radius, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadiusByMember(String key, String member, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List georadiusReadonly(byte[] key, double longitude, double latitude, double radius,
GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List georadiusReadonly(String key, double longitude, double latitude, double radius,
GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List georadius(String key, double longitude, double latitude, double radius, GeoUnit unit) {
throw new UnsupportedOperationException();
}
default List georadius(String key, double longitude, double latitude, double radius, GeoUnit unit,
GeoRadiusParam param) {
throw new UnsupportedOperationException();
}
default List bitfield(byte[] key, byte[]... arguments) {
throw new UnsupportedOperationException();
}
default List bitfieldReadonly(byte[] key, byte[]... arguments) {
throw new UnsupportedOperationException();
}
default List bitfieldReadonly(String key, String... arguments) {
throw new UnsupportedOperationException();
}
default List bitfield(String key, String... arguments) {
throw new UnsupportedOperationException();
}
default List lpos(byte[] key, byte[] element, LPosParams params, long count) {
throw new UnsupportedOperationException();
}
default List lpos(String key, String element, LPosParams params, long count) {
throw new UnsupportedOperationException();
}
default List scriptExists(byte[] sampleKey, byte[]... sha1) {
throw new UnsupportedOperationException();
}
default List scriptExists(byte[]... sha1) {
throw new UnsupportedOperationException();
}
default List