public class LRedisHelper extends Object
| 构造器和说明 |
|---|
LRedisHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
asyncSet(String key,
String value) |
static void |
asyncSetRetryRequestResult(String retryRequestId,
byte[] result) |
static void |
asyncSetWorkerId(String hostName,
long workerId) |
static void |
asyncSetWorkerIdSet(long workerId) |
static Long |
exists(String key) |
static Long |
existsRetryResult(String retryRequestId) |
static Long |
existsWorkerId(String hostName) |
static boolean |
existsWorkerIdSet(long workerId) |
static String |
get(String key) |
static String |
getForHostName(String hostName) |
static byte[] |
getForRetryRequestId(String retryRequestId) |
static void |
main(String[] args) |
static void |
preLoad() |
static void |
syncSet(String key,
String value) |
static void |
syncSetRetryRequestResult(String retryRequestId,
byte[] result) |
static void |
syncSetWorkerId(String hostName,
long workerId) |
static void |
syncSetWorkerIdSet(String workerId) |
public static void preLoad()
public static boolean existsWorkerIdSet(long workerId)
public static void syncSetWorkerIdSet(String workerId)
public static void asyncSetWorkerIdSet(long workerId)
public static void asyncSetWorkerId(String hostName, long workerId)
public static void syncSetWorkerId(String hostName, long workerId)
public static byte[] getForRetryRequestId(String retryRequestId)
public static void asyncSetRetryRequestResult(String retryRequestId, byte[] result)
public static void syncSetRetryRequestResult(String retryRequestId, byte[] result)
public static void main(String[] args)
Copyright © 2022. All rights reserved.