| 程序包 | 说明 |
|---|---|
| net.rubyeye.xmemcached |
XMemcached's main classes and interfaces,use these
classes/interfaces to interact with memcached servers.
|
| net.rubyeye.xmemcached.command |
Memcached protocol implementations
|
| net.rubyeye.xmemcached.command.binary |
Memcached text protocol implementations
|
| net.rubyeye.xmemcached.command.kestrel |
Kestrel protocol implementations
|
| net.rubyeye.xmemcached.command.text |
Memcached text protocol implementations
|
| net.rubyeye.xmemcached.monitor |
JMX MBean Server and MBeans for monitor and statistics
|
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
CommandFactory.createGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
Transcoder transcoder)
create a get/gets command
|
<T> Command |
CommandFactory.createGetMultiCommand(Collection<String> keys,
CountDownLatch latch,
CommandType cmdType,
Transcoder<T> transcoder)
Create a multi-get command
|
Command |
CommandFactory.createIncrDecrCommand(String key,
byte[] keyBytes,
long delta,
long initial,
int expTime,
CommandType cmdType,
boolean noreply)
create a incr/decr command
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected CommandType |
Command.commandType |
| 限定符和类型 | 方法和说明 |
|---|---|
CommandType |
Command.getCommandType() |
static CommandType |
CommandType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CommandType[] |
CommandType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
TextCommandFactory.createGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
Transcoder transcoder) |
Command |
KestrelCommandFactory.createGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
Transcoder transcoder) |
Command |
BinaryCommandFactory.createGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
Transcoder transcoder) |
<T> Command |
TextCommandFactory.createGetMultiCommand(Collection<String> keys,
CountDownLatch latch,
CommandType cmdType,
Transcoder<T> transcoder) |
<T> Command |
KestrelCommandFactory.createGetMultiCommand(Collection<String> keys,
CountDownLatch latch,
CommandType cmdType,
Transcoder<T> transcoder) |
<T> Command |
BinaryCommandFactory.createGetMultiCommand(Collection<String> keys,
CountDownLatch latch,
CommandType cmdType,
Transcoder<T> transcoder) |
Command |
TextCommandFactory.createIncrDecrCommand(String key,
byte[] keyBytes,
long amount,
long initial,
int exptime,
CommandType cmdType,
boolean noreply) |
Command |
KestrelCommandFactory.createIncrDecrCommand(String key,
byte[] keyBytes,
long amount,
long initial,
int expTime,
CommandType cmdType,
boolean noreply) |
Command |
BinaryCommandFactory.createIncrDecrCommand(String key,
byte[] keyBytes,
long amount,
long initial,
int expTime,
CommandType cmdType,
boolean noreply) |
void |
Command.setCommandType(CommandType commandType) |
| 构造器和说明 |
|---|
Command(CommandType cmdType) |
Command(CommandType cmdType,
CountDownLatch latch) |
Command(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch) |
Command(String key,
CommandType commandType,
CountDownLatch latch) |
| 构造器和说明 |
|---|
BaseBinaryCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
long cas,
Object value,
boolean noreply,
Transcoder transcoder) |
BinaryAppendPrependCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
long cas,
Object value,
boolean noreply,
Transcoder transcoder) |
BinaryCASCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
long cas,
Object value,
boolean noreply,
Transcoder transcoder) |
BinaryDeleteCommand(String key,
byte[] keyBytes,
long cas,
CommandType cmdType,
CountDownLatch latch,
boolean noreply) |
BinaryGetAndTouchCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
boolean noreply) |
BinaryGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
OpCode opCode,
boolean noreply) |
BinaryGetMultiCommand(String key,
CommandType cmdType,
CountDownLatch latch) |
BinaryIncrDecrCommand(String key,
byte[] keyBytes,
long amount,
long initial,
int expTime,
CommandType cmdType,
boolean noreply) |
BinarySetMultiCommand(String key,
CommandType cmdType,
CountDownLatch latch) |
BinaryStoreCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
long cas,
Object value,
boolean noreply,
Transcoder transcoder) |
BinaryTouchCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
boolean noreply) |
| 构造器和说明 |
|---|
KestrelGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
Transcoder<?> transcoder) |
KestrelSetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
long cas,
Object value,
boolean noreply,
Transcoder transcoder) |
| 构造器和说明 |
|---|
TextCASCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
long cas,
Object value,
boolean noreply,
Transcoder transcoder) |
TextGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch) |
TextGetMultiCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
Transcoder transcoder) |
TextGetOneCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch) |
TextIncrDecrCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
long delta,
long initial,
boolean noreply) |
TextStoreCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int exp,
long cas,
Object value,
boolean noreply,
Transcoder transcoder) |
TextTouchCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch,
int expTime,
boolean noreply) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StatisticsHandler.statistics(CommandType cmdType) |
void |
StatisticsHandler.statistics(CommandType cmdType,
int count) |
Copyright © 2013. All Rights Reserved.