public class RedisHelper extends Object
| 构造器和说明 |
|---|
RedisHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExOne<Long> |
GetLongNumberFromCommandLine(byte[] commandLine)
从原始的结果数据对象中提取出数字数据
|
static OperateResultExOne<Integer> |
GetNumberFromCommandLine(byte[] commandLine)
从原始的结果数据对象中提取出数字数据
|
static OperateResultExOne<String> |
GetStringFromCommandLine(byte[] commandLine)
从结果的数据对象里提取字符串的信息
|
static OperateResultExOne<String[]> |
GetStringsFromCommandLine(byte[] commandLine)
从redis的结果数据中分析出所有的字符串信息
|
static byte[] |
PackStringCommand(String[] commands)
将字符串数组打包成一个redis的报文信息
|
public static byte[] PackStringCommand(String[] commands)
commands - 字节数据信息public static OperateResultExOne<Integer> GetNumberFromCommandLine(byte[] commandLine)
commandLine - 原始的字节数据public static OperateResultExOne<Long> GetLongNumberFromCommandLine(byte[] commandLine)
commandLine - 原始的字节数据public static OperateResultExOne<String> GetStringFromCommandLine(byte[] commandLine)
commandLine - 原始的字节数据public static OperateResultExOne<String[]> GetStringsFromCommandLine(byte[] commandLine)
commandLine - 结果数据Copyright © 2022. All rights reserved.