public abstract class AbstractRedisConfiguration extends Object implements Configuration
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
redisClientWay |
protected static String |
redisServerAsync |
protected static String |
redisServerAuth |
protected static String |
redisServerHost |
protected static Integer |
redisServerPort |
protected static String |
redisServerPwd |
protected static String |
redisServerWay |
protected static String |
retryReqIds |
protected static String |
workerIds |
protected static String |
workerIdsSet |
| 构造器和说明 |
|---|
AbstractRedisConfiguration() |
protected static String redisServerHost
protected static Integer redisServerPort
protected static String redisServerAuth
protected static String redisServerPwd
protected static String redisServerWay
protected static String redisClientWay
protected static String redisServerAsync
public static String getRedisServerAddr()
public static String getRedisServerHost()
public static Integer getRedisServerPort()
public static String getRedisServerAuth()
public static String getRedisServerPwd()
public static String getRedisServerWay()
public static String getRedisClientWay()
public static String getRedisServerAsync()
public static AbstractRedisConfiguration getServerConfig()
public static AbstractRedisConfiguration getClientConfig()
public abstract AbstractRedisConfiguration configure()
public abstract boolean exists(String key)
public abstract boolean existsWorkerId(String hostName)
public abstract void setWorkerId(String hostName, long workerId)
public abstract void remWorkerId(String hostName)
public abstract void asyncRemWorkerId(String hostName)
public abstract boolean existsWorkerIdSet(long workerId)
public abstract void setWorkerIdSet(long workerId)
public abstract boolean existsRetryResult(String retryRequestId)
public abstract String getResultForRetryRequestId2String(String retryRequestId)
public abstract byte[] getResultForRetryRequestId2Bytes(String retryRequestId)
public abstract void setRetryRequestResultByString(String retryRequestId, String result)
public abstract void setRetryRequestResultByBytes(String retryRequestId, byte[] result)
public abstract void asyncSetWorkerIdSet(long workerId)
public abstract void asyncSetWorkerId(String hostName, long workerId)
public abstract void asyncSetRetryRequestResult(String retryRequestId, byte[] result)
Copyright © 2023. All rights reserved.