public final class Protocol extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.ClusterKeyword |
static class |
Protocol.Command |
static class |
Protocol.Keyword |
static class |
Protocol.SentinelKeyword |
Modifier and Type | Field and Description |
---|---|
static byte |
ASTERISK_BYTE |
static byte[] |
BYTES_ASTERISK |
static byte[] |
BYTES_EQUAL |
static byte[] |
BYTES_FALSE |
static byte[] |
BYTES_TILDE |
static byte[] |
BYTES_TRUE |
static String |
CHARSET
Type of CHARSET will be changed to
Charset in next major release. |
static String |
CLUSTER_ADDSLOTS
Deprecated.
|
static String |
CLUSTER_COUNTKEYINSLOT
Deprecated.
|
static String |
CLUSTER_DELSLOTS
Deprecated.
|
static String |
CLUSTER_FAILOVER
Deprecated.
|
static String |
CLUSTER_FLUSHSLOT
Deprecated.
|
static String |
CLUSTER_FORGET
Deprecated.
|
static String |
CLUSTER_GETKEYSINSLOT
Deprecated.
|
static String |
CLUSTER_INFO
Deprecated.
|
static String |
CLUSTER_KEYSLOT
Deprecated.
|
static String |
CLUSTER_MEET
Deprecated.
|
static String |
CLUSTER_NODES
Deprecated.
|
static String |
CLUSTER_REPLICATE
Deprecated.
|
static String |
CLUSTER_RESET
Deprecated.
|
static String |
CLUSTER_SAVECONFIG
Deprecated.
|
static String |
CLUSTER_SETSLOT
Deprecated.
|
static String |
CLUSTER_SETSLOT_IMPORTING
Deprecated.
|
static String |
CLUSTER_SETSLOT_MIGRATING
Deprecated.
|
static String |
CLUSTER_SETSLOT_NODE
Deprecated.
|
static String |
CLUSTER_SETSLOT_STABLE
Deprecated.
|
static String |
CLUSTER_SLAVES
Deprecated.
|
static String |
CLUSTER_SLOTS
Deprecated.
|
static byte |
COLON_BYTE |
static int |
DEFAULT_DATABASE |
static String |
DEFAULT_HOST |
static int |
DEFAULT_PORT |
static int |
DEFAULT_SENTINEL_PORT |
static int |
DEFAULT_TIMEOUT |
static byte |
DOLLAR_BYTE |
static byte |
MINUS_BYTE |
static byte[] |
NEGATIVE_INFINITY_BYTES |
static byte |
PLUS_BYTE |
static byte[] |
POSITIVE_INFINITY_BYTES |
static String |
PUBSUB_CHANNELS
Deprecated.
|
static String |
PUBSUB_NUM_PAT
Deprecated.
|
static String |
PUBSUB_NUMSUB
Deprecated.
|
static String |
SENTINEL_FAILOVER
Deprecated.
|
static String |
SENTINEL_GET_MASTER_ADDR_BY_NAME
Deprecated.
|
static String |
SENTINEL_MASTERS
Deprecated.
|
static String |
SENTINEL_MONITOR
Deprecated.
|
static String |
SENTINEL_REMOVE
Deprecated.
|
static String |
SENTINEL_RESET
Deprecated.
|
static String |
SENTINEL_SET
Deprecated.
|
static String |
SENTINEL_SLAVES
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Object |
read(RedisInputStream is) |
static String |
readErrorLineIfPossible(RedisInputStream is) |
static void |
sendCommand(RedisOutputStream os,
ProtocolCommand command,
byte[]... args) |
static byte[] |
toByteArray(boolean value) |
static byte[] |
toByteArray(double value) |
static byte[] |
toByteArray(int value) |
static byte[] |
toByteArray(long value) |
public static final String DEFAULT_HOST
public static final int DEFAULT_PORT
public static final int DEFAULT_SENTINEL_PORT
public static final int DEFAULT_TIMEOUT
public static final int DEFAULT_DATABASE
public static final String CHARSET
Charset
in next major release.public static final byte DOLLAR_BYTE
public static final byte ASTERISK_BYTE
public static final byte PLUS_BYTE
public static final byte MINUS_BYTE
public static final byte COLON_BYTE
@Deprecated public static final String SENTINEL_MASTERS
@Deprecated public static final String SENTINEL_GET_MASTER_ADDR_BY_NAME
@Deprecated public static final String SENTINEL_RESET
@Deprecated public static final String SENTINEL_SLAVES
@Deprecated public static final String SENTINEL_FAILOVER
@Deprecated public static final String SENTINEL_MONITOR
@Deprecated public static final String SENTINEL_REMOVE
@Deprecated public static final String SENTINEL_SET
@Deprecated public static final String CLUSTER_NODES
@Deprecated public static final String CLUSTER_MEET
@Deprecated public static final String CLUSTER_RESET
@Deprecated public static final String CLUSTER_ADDSLOTS
@Deprecated public static final String CLUSTER_DELSLOTS
@Deprecated public static final String CLUSTER_INFO
@Deprecated public static final String CLUSTER_GETKEYSINSLOT
@Deprecated public static final String CLUSTER_SETSLOT
@Deprecated public static final String CLUSTER_SETSLOT_NODE
@Deprecated public static final String CLUSTER_SETSLOT_MIGRATING
@Deprecated public static final String CLUSTER_SETSLOT_IMPORTING
@Deprecated public static final String CLUSTER_SETSLOT_STABLE
@Deprecated public static final String CLUSTER_FORGET
@Deprecated public static final String CLUSTER_FLUSHSLOT
@Deprecated public static final String CLUSTER_KEYSLOT
@Deprecated public static final String CLUSTER_COUNTKEYINSLOT
@Deprecated public static final String CLUSTER_SAVECONFIG
@Deprecated public static final String CLUSTER_REPLICATE
@Deprecated public static final String CLUSTER_SLAVES
@Deprecated public static final String CLUSTER_FAILOVER
@Deprecated public static final String CLUSTER_SLOTS
@Deprecated public static final String PUBSUB_CHANNELS
@Deprecated public static final String PUBSUB_NUMSUB
@Deprecated public static final String PUBSUB_NUM_PAT
public static final byte[] BYTES_TRUE
public static final byte[] BYTES_FALSE
public static final byte[] BYTES_TILDE
public static final byte[] BYTES_EQUAL
public static final byte[] BYTES_ASTERISK
public static final byte[] POSITIVE_INFINITY_BYTES
public static final byte[] NEGATIVE_INFINITY_BYTES
public static void sendCommand(RedisOutputStream os, ProtocolCommand command, byte[]... args)
public static String readErrorLineIfPossible(RedisInputStream is)
public static Object read(RedisInputStream is)
public static final byte[] toByteArray(boolean value)
public static final byte[] toByteArray(int value)
public static final byte[] toByteArray(long value)
public static final byte[] toByteArray(double value)
Copyright © 2022. All rights reserved.