Constant Field Values
Contents
net.spy.*
-
net.spy.memcached.CachedData Modifier and Type Constant Field Value public static final int
MAX_SIZE
20971520
-
net.spy.memcached.CASMutator<T> Modifier and Type Constant Field Value private static final int
MAX_TRIES
8192
-
net.spy.memcached.DefaultConnectionFactory Modifier and Type Constant Field Value public static final long
DEFAULT_AUTH_WAIT_TIME
1000L
public static final long
DEFAULT_MAX_RECONNECT_DELAY
30L
public static final int
DEFAULT_MAX_TIMEOUTEXCEPTION_THRESHOLD
998
public static final int
DEFAULT_OP_QUEUE_LEN
16384
public static final long
DEFAULT_OPERATION_TIMEOUT
2500L
public static final int
DEFAULT_READ_BUFFER_SIZE
16384
-
net.spy.memcached.DefaultHashAlgorithm Modifier and Type Constant Field Value private static final long
FNV_32_INIT
2166136261L
private static final long
FNV_32_PRIME
16777619L
private static final long
FNV_64_INIT
-3750763034362895579L
private static final long
FNV_64_PRIME
1099511628211L
-
net.spy.memcached.MemcachedClientIF Modifier and Type Constant Field Value public static final int
MAX_KEY_LENGTH
250
-
net.spy.memcached.MemcachedConnection Modifier and Type Constant Field Value private static final int
DEFAULT_RETRY_QUEUE_SIZE
-1
private static final int
DEFAULT_WAKEUP_DELAY
1000
private static final int
DOUBLE_CHECK_EMPTY
256
private static final int
EXCESSIVE_EMPTY
16777216
private static final int
MAX_CLONE_COUNT
100
private static final java.lang.String
OVERALL_AVG_BYTES_READ_METRIC
"[MEM] Average Bytes read from OS per read"
private static final java.lang.String
OVERALL_AVG_BYTES_WRITE_METRIC
"[MEM] Average Bytes written to OS per write"
private static final java.lang.String
OVERALL_AVG_TIME_ON_WIRE_METRIC
"[MEM] Average Time on wire for operations (\u00b5s)"
private static final java.lang.String
OVERALL_REQUEST_METRIC
"[MEM] Request Rate: All"
private static final java.lang.String
OVERALL_RESPONSE_FAIL_METRIC
"[MEM] Response Rate: Failure"
private static final java.lang.String
OVERALL_RESPONSE_METRIC
"[MEM] Response Rate: All (Failure + Success + Retry)"
private static final java.lang.String
OVERALL_RESPONSE_RETRY_METRIC
"[MEM] Response Rate: Retry"
private static final java.lang.String
OVERALL_RESPONSE_SUCC_METRIC
"[MEM] Response Rate: Success"
private static final java.lang.String
RECON_QUEUE_METRIC
"[MEM] Reconnecting Nodes (ReconnectQueue)"
private static final java.lang.String
SHUTD_QUEUE_METRIC
"[MEM] Shutting Down Nodes (NodesToShutdown)"
-
net.spy.memcached.OperationTimeoutException Modifier and Type Constant Field Value private static final long
serialVersionUID
1479557202445843619L
-
net.spy.memcached.auth.AuthThread Modifier and Type Constant Field Value public static final int
AUTH_ROUNDTRIP_THRESHOLD
250
public static final int
AUTH_TOTAL_THRESHOLD
1000
public static final java.lang.String
MECH_SEPARATOR
" "
-
net.spy.memcached.internal.CheckedOperationTimeoutException Modifier and Type Constant Field Value private static final long
serialVersionUID
139074906690883031L
-
net.spy.memcached.metrics.DefaultMetricCollector Modifier and Type Constant Field Value public static final java.lang.String
DEFAULT_REPORTER_INTERVAL
"30"
public static final java.lang.String
DEFAULT_REPORTER_OUTDIR
""
public static final java.lang.String
DEFAULT_REPORTER_TYPE
"console"
-
net.spy.memcached.ops.OperationException Modifier and Type Constant Field Value private static final long
serialVersionUID
1524499960923239786L
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.BaseStoreOperationImpl Modifier and Type Constant Field Value private static final int
OVERHEAD
32
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.CASOperationImpl Modifier and Type Constant Field Value private static final int
OVERHEAD
64
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.DeleteOperationImpl Modifier and Type Constant Field Value private static final int
OVERHEAD
32
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.GetlOperationImpl Modifier and Type Constant Field Value private static final java.lang.String
CMD
"getl"
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.GetOperationImpl Modifier and Type Constant Field Value private static final java.lang.String
CMD
"get"
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.GetsOperationImpl Modifier and Type Constant Field Value private static final java.lang.String
CMD
"gets"
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.MutatorOperationImpl Modifier and Type Constant Field Value public static final int
OVERHEAD
32
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.OperationImpl Modifier and Type Constant Field Value private static final java.lang.String
CHARSET
"UTF-8"
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.TouchOperationImpl Modifier and Type Constant Field Value private static final int
OVERHEAD
9
-
net.spy.memcached.protocol.ascii.net.spy.memcached.protocol.ascii.UnlockOperationImpl Modifier and Type Constant Field Value private static final java.lang.String
CMD
"unl"
private static final int
OVERHEAD
32
-
net.spy.memcached.protocol.binary.BinaryMemcachedNodeImpl Modifier and Type Constant Field Value private static final int
MAX_GET_OPTIMIZATION_COUNT
4096
private static final int
MAX_SET_OPTIMIZATION_BYTES
2097152
private static final int
MAX_SET_OPTIMIZATION_COUNT
65535
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.ConcatenationOperationImpl Modifier and Type Constant Field Value private static final int
APPEND
14
private static final int
PREPEND
15
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.DeleteOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
4
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.FlushOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
8
-
net.spy.memcached.protocol.binary.GetAndTouchOperationImpl Modifier and Type Constant Field Value static final int
EXTRA_HDR_LEN
4
static final byte
GAT_CMD
29
-
net.spy.memcached.protocol.binary.GetlOperationImpl Modifier and Type Constant Field Value static final int
EXTRA_HDR_LEN
4
static final byte
GETL_CMD
-108
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.GetOperationImpl Modifier and Type Constant Field Value static final int
EXTRA_HDR_LEN
4
static final byte
GET_CMD
0
-
net.spy.memcached.protocol.binary.GetsOperationImpl Modifier and Type Constant Field Value static final int
EXTRA_HDR_LEN
4
static final byte
GET_CMD
0
-
net.spy.memcached.protocol.binary.KeyStatsOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
16
-
net.spy.memcached.protocol.binary.MultiGetOperationImpl Modifier and Type Constant Field Value private static final byte
CMD_GETQ
9
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.MutatorOperationImpl Modifier and Type Constant Field Value private static final byte
CMD_DECR
6
private static final byte
CMD_INCR
5
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.NoopOperationImpl Modifier and Type Constant Field Value static final byte
CMD
10
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.ObserveOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
-110
-
net.spy.memcached.protocol.binary.OperationImpl Modifier and Type Constant Field Value protected static final byte
DUMMY_OPCODE
-1
protected static final int
ERR_2BIG
3
protected static final int
ERR_BUSY
133
protected static final int
ERR_DELTA_BADVAL
6
protected static final int
ERR_EXISTS
2
protected static final int
ERR_INTERNAL
132
protected static final int
ERR_INVAL
4
protected static final int
ERR_NO_MEM
130
protected static final int
ERR_NOT_FOUND
1
protected static final int
ERR_NOT_MY_VBUCKET
7
protected static final int
ERR_NOT_STORED
5
protected static final int
ERR_NOT_SUPPORTED
131
protected static final int
ERR_TEMP_FAIL
134
protected static final int
ERR_UNKNOWN_COMMAND
129
protected static final int
MIN_RECV_PACKET
24
protected static final byte
REQ_MAGIC
-128
protected static final byte
RES_MAGIC
-127
protected static final int
SUCCESS
0
-
net.spy.memcached.protocol.binary.ReplicaGetOperationImpl Modifier and Type Constant Field Value static final int
EXTRA_HDR_LEN
4
static final byte
REPLICA_GET_CMD
-125
-
net.spy.memcached.protocol.binary.ReplicaGetsOperationImpl Modifier and Type Constant Field Value static final int
EXTRA_HDR_LEN
4
static final byte
REPLICA_GET_CMD
-125
-
net.spy.memcached.protocol.binary.SASLAuthOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
33
-
net.spy.memcached.protocol.binary.SASLBaseOperationImpl Modifier and Type Constant Field Value private static final byte
SASL_CONTINUE
33
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.SASLMechsOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
32
-
net.spy.memcached.protocol.binary.SASLStepOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
34
-
net.spy.memcached.protocol.binary.StatsOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
16
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.StoreOperationImpl Modifier and Type Constant Field Value private static final byte
ADD
2
static final byte
ADDQ
18
static final int
EXTRA_LEN
8
private static final byte
REPLACE
3
static final byte
REPLACEQ
19
private static final byte
SET
1
static final byte
SETQ
17
-
net.spy.memcached.protocol.binary.TapOperationImpl Modifier and Type Constant Field Value static final byte
CMD
0
-
net.spy.memcached.protocol.binary.TouchOperationImpl Modifier and Type Constant Field Value static final byte
CMD
28
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.UnlockOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
-107
-
net.spy.memcached.protocol.binary.net.spy.memcached.protocol.binary.VersionOperationImpl Modifier and Type Constant Field Value private static final byte
CMD
11
-
net.spy.memcached.tapmessage.BaseMessage Modifier and Type Constant Field Value private static final int
CAS_OFFSET
16
private static final int
DATATYPE_OFFSET
5
private static final int
EXTRALENGTH_OFFSET
4
public static final int
HEADER_LENGTH
24
private static final int
KEYLENGTH_OFFSET
2
private static final int
MAGIC_OFFSET
0
private static final int
OPAQUE_OFFSET
12
private static final int
OPCODE_OFFSET
1
private static final int
TOTALBODY_OFFSET
8
private static final int
VBUCKET_OFFSET
6
-
net.spy.memcached.tapmessage.ResponseMessage Modifier and Type Constant Field Value private static final int
ENGINE_PRIVATE_OFFSET
24
private static final int
FLAGS_OFFSET
26
private static final int
ITEM_EXPIRY_OFFSET
36
private static final int
ITEM_FLAGS_OFFSET
32
private static final int
KEY_OFFSET
40
private static final int
RESERVED1_OFFSET
29
private static final int
RESERVED2_OFFSET
30
private static final int
RESERVED3_OFFSET
31
private static final int
TTL_OFFSET
28
-
net.spy.memcached.transcoders.BaseSerializingTranscoder Modifier and Type Constant Field Value private static final java.lang.String
DEFAULT_CHARSET
"UTF-8"
public static final int
DEFAULT_COMPRESSION_THRESHOLD
16384
-
net.spy.memcached.transcoders.IntegerTranscoder Modifier and Type Constant Field Value private static final int
FLAGS
512
-
net.spy.memcached.transcoders.LongTranscoder Modifier and Type Constant Field Value private static final int
FLAGS
768
-
net.spy.memcached.transcoders.SerializingTranscoder Modifier and Type Constant Field Value static final int
COMPRESSED
2
static final int
SERIALIZED
1
static final int
SPECIAL_BOOLEAN
256
static final int
SPECIAL_BYTE
1280
static final int
SPECIAL_BYTEARRAY
2048
static final int
SPECIAL_DATE
1024
static final int
SPECIAL_DOUBLE
1792
static final int
SPECIAL_FLOAT
1536
static final int
SPECIAL_INT
512
static final int
SPECIAL_LONG
768
private static final int
SPECIAL_MASK
65280
-
net.spy.memcached.transcoders.WhalinTranscoder Modifier and Type Constant Field Value static final int
COMPRESSED
2
static final int
SERIALIZED
8
static final int
SPECIAL_BOOLEAN
8192
static final int
SPECIAL_BYTE
1
static final int
SPECIAL_BYTEARRAY
4096
static final int
SPECIAL_CHARACTER
16
static final int
SPECIAL_DATE
1024
static final int
SPECIAL_DOUBLE
512
static final int
SPECIAL_FLOAT
128
static final int
SPECIAL_INT
4
static final int
SPECIAL_LONG
16384
static final int
SPECIAL_SHORT
256
static final int
SPECIAL_STRING
32
static final int
SPECIAL_STRINGBUFFER
64
static final int
SPECIAL_STRINGBUILDER
2048
-
net.spy.memcached.transcoders.WhalinV1Transcoder Modifier and Type Constant Field Value public static final int
COMPRESSED
2
public static final int
SERIALIZED
8
public static final int
SPECIAL_BOOLEAN
2
public static final int
SPECIAL_BYTE
1
public static final int
SPECIAL_CHARACTER
5
public static final int
SPECIAL_DATE
11
public static final int
SPECIAL_DOUBLE
10
public static final int
SPECIAL_FLOAT
8
public static final int
SPECIAL_INTEGER
3
public static final int
SPECIAL_LONG
4
public static final int
SPECIAL_SHORT
9
public static final int
SPECIAL_STRING
6
public static final int
SPECIAL_STRINGBUFFER
7
public static final int
SPECIAL_STRINGBUILDER
12
-
net.spy.memcached.util.DefaultKetamaNodeLocatorConfiguration Modifier and Type Constant Field Value private final int
numReps
160
-
net.spy.memcached.util.StringUtils Modifier and Type Constant Field Value private static final int
MAX_KEY_LENGTH
250