public class JRedisConfiguration extends AbstractRedisConfiguration
redisClientWay, redisServerAsync, redisServerAuth, redisServerHost, redisServerPort, redisServerPwd, redisServerWay, retryReqIds, workerIds, workerIdsSet| 构造器和说明 |
|---|
JRedisConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
asyncRemWorkerId(String hostName) |
void |
asyncSet(String key,
String value) |
void |
asyncSetRetryRequestResult(String retryRequestId,
byte[] result) |
void |
asyncSetWorkerId(String hostName,
long workerId) |
void |
asyncSetWorkerIdSet(long workerId) |
JRedisConfiguration |
configure() |
boolean |
exists(String key) |
boolean |
existsRetryResult(String retryRequestId) |
boolean |
existsWorkerId(String hostName) |
boolean |
existsWorkerIdSet(long workerId) |
String |
get(String key) |
byte[] |
getResultForRetryRequestId2Bytes(String retryRequestId) |
String |
getResultForRetryRequestId2String(String retryRequestId) |
String |
getWorkerIdForHostName(String hostName) |
void |
remWorkerId(String hostName) |
void |
set(String key,
String value) |
void |
setRetryRequestResultByBytes(String retryRequestId,
byte[] result) |
void |
setRetryRequestResultByString(String retryRequestId,
String result) |
void |
setWorkerId(String hostName,
long workerId) |
void |
setWorkerIdSet(long workerId) |
public JRedisConfiguration configure()
configure 在类中 AbstractRedisConfigurationpublic boolean exists(String key)
exists 在类中 AbstractRedisConfigurationpublic void set(String key, String value)
set 在类中 AbstractRedisConfigurationpublic String get(String key)
get 在类中 AbstractRedisConfigurationpublic boolean existsWorkerId(String hostName)
existsWorkerId 在类中 AbstractRedisConfigurationpublic void setWorkerId(String hostName, long workerId)
setWorkerId 在类中 AbstractRedisConfigurationpublic void remWorkerId(String hostName)
remWorkerId 在类中 AbstractRedisConfigurationpublic void asyncRemWorkerId(String hostName)
public boolean existsWorkerIdSet(long workerId)
public void setWorkerIdSet(long workerId)
setWorkerIdSet 在类中 AbstractRedisConfigurationpublic boolean existsRetryResult(String retryRequestId)
public String getResultForRetryRequestId2String(String retryRequestId)
public byte[] getResultForRetryRequestId2Bytes(String retryRequestId)
public void setRetryRequestResultByString(String retryRequestId, String result)
public void setRetryRequestResultByBytes(String retryRequestId, byte[] result)
public void asyncSet(String key, String value)
asyncSet 在类中 AbstractRedisConfigurationpublic void asyncSetWorkerIdSet(long workerId)
public void asyncSetWorkerId(String hostName, long workerId)
public void asyncSetRetryRequestResult(String retryRequestId, byte[] result)
Copyright © 2025. All rights reserved.