| 程序包 | 说明 |
|---|---|
| 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.impl |
Manage tcp connection,memcached protocol optimized,and some
MBeans for monitor.
|
| net.rubyeye.xmemcached.networking |
Networking layout to talk with memcached.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
CommandFactory.createAddCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder)
create a add command
|
Command |
CommandFactory.createAppendCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder)
create a append command
|
Command |
CommandFactory.createAuthListMechanismsCommand(CountDownLatch latch)
Create a command for listing authentication mechanisms
|
Command |
CommandFactory.createAuthStartCommand(String mechanism,
CountDownLatch latch,
byte[] authData)
Create command for starting authentication
|
Command |
CommandFactory.createAuthStepCommand(String mechanism,
CountDownLatch latch,
byte[] authData)
Create a command for stepping authentication
|
Command |
CommandFactory.createCASCommand(String key,
byte[] keyBytes,
int exp,
Object value,
long cas,
boolean noreply,
Transcoder transcoder)
Create a cas command
|
Command |
CommandFactory.createDeleteCommand(String key,
byte[] keyBytes,
int time,
long cas,
boolean noreply)
create a delete command
|
Command |
CommandFactory.createFlushAllCommand(CountDownLatch latch,
int delay,
boolean noreply)
create a flush_all command
|
Command |
CommandFactory.createGetAndTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply)
Create a get-and-touch command
|
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
|
Command |
CommandFactory.createPrependCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder)
Create a prepend command
|
Command |
CommandFactory.createQuitCommand()
create a quit command
|
Command |
CommandFactory.createReplaceCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder)
create a replace command
|
Command |
CommandFactory.createSetCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder)
Create a set command
|
Command |
CommandFactory.createStatsCommand(InetSocketAddress server,
CountDownLatch latch,
String itemName)
create a stats command
|
Command |
CommandFactory.createTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply)
Create a touch command
|
Command |
CommandFactory.createVerbosityCommand(CountDownLatch latch,
int level,
boolean noreply)
Create a verbosity command
|
Command |
CommandFactory.createVersionCommand(CountDownLatch latch,
InetSocketAddress server)
create a version command
|
Command |
MemcachedOptimizer.optimize(Command currentCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
MemcachedOptimizer.optimize(Command currentCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
MemcachedOptimizer.optimize(Command currentCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
VerbosityCommand
Abstract verbosity command for text protocol
|
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
TextCommandFactory.createAddCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
KestrelCommandFactory.createAddCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
BinaryCommandFactory.createAddCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
TextCommandFactory.createAppendCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
KestrelCommandFactory.createAppendCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
BinaryCommandFactory.createAppendCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
TextCommandFactory.createAuthListMechanismsCommand(CountDownLatch latch) |
Command |
KestrelCommandFactory.createAuthListMechanismsCommand(CountDownLatch latch) |
Command |
BinaryCommandFactory.createAuthListMechanismsCommand(CountDownLatch latch) |
Command |
TextCommandFactory.createAuthStartCommand(String mechanism,
CountDownLatch latch,
byte[] authData) |
Command |
KestrelCommandFactory.createAuthStartCommand(String mechanism,
CountDownLatch latch,
byte[] authData) |
Command |
BinaryCommandFactory.createAuthStartCommand(String mechanism,
CountDownLatch latch,
byte[] authData) |
Command |
TextCommandFactory.createAuthStepCommand(String mechanism,
CountDownLatch latch,
byte[] authData) |
Command |
KestrelCommandFactory.createAuthStepCommand(String mechanism,
CountDownLatch latch,
byte[] authData) |
Command |
BinaryCommandFactory.createAuthStepCommand(String mechanism,
CountDownLatch latch,
byte[] authData) |
Command |
TextCommandFactory.createCASCommand(String key,
byte[] keyBytes,
int exp,
Object value,
long cas,
boolean noreply,
Transcoder transcoder) |
Command |
KestrelCommandFactory.createCASCommand(String key,
byte[] keyBytes,
int exp,
Object value,
long cas,
boolean noreply,
Transcoder transcoder) |
Command |
BinaryCommandFactory.createCASCommand(String key,
byte[] keyBytes,
int exp,
Object value,
long cas,
boolean noreply,
Transcoder transcoder) |
Command |
TextCommandFactory.createDeleteCommand(String key,
byte[] keyBytes,
int time,
long cas,
boolean noreply) |
Command |
KestrelCommandFactory.createDeleteCommand(String key,
byte[] keyBytes,
int time,
long cas,
boolean noreply) |
Command |
BinaryCommandFactory.createDeleteCommand(String key,
byte[] keyBytes,
int time,
long cas,
boolean noreply) |
Command |
TextCommandFactory.createFlushAllCommand(CountDownLatch latch,
int exptime,
boolean noreply) |
Command |
KestrelCommandFactory.createFlushAllCommand(CountDownLatch latch,
int delay,
boolean noreply) |
Command |
BinaryCommandFactory.createFlushAllCommand(CountDownLatch latch,
int delay,
boolean noreply) |
Command |
TextCommandFactory.createGetAndTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply) |
Command |
KestrelCommandFactory.createGetAndTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply) |
Command |
BinaryCommandFactory.createGetAndTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply) |
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) |
Command |
TextCommandFactory.createPrependCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
KestrelCommandFactory.createPrependCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
BinaryCommandFactory.createPrependCommand(String key,
byte[] keyBytes,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
TextCommandFactory.createQuitCommand() |
Command |
KestrelCommandFactory.createQuitCommand() |
Command |
BinaryCommandFactory.createQuitCommand() |
Command |
TextCommandFactory.createReplaceCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
KestrelCommandFactory.createReplaceCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
BinaryCommandFactory.createReplaceCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
TextCommandFactory.createSetCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
KestrelCommandFactory.createSetCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
BinaryCommandFactory.createSetCommand(String key,
byte[] keyBytes,
int exp,
Object value,
boolean noreply,
Transcoder transcoder) |
Command |
TextCommandFactory.createStatsCommand(InetSocketAddress server,
CountDownLatch latch,
String itemName) |
Command |
KestrelCommandFactory.createStatsCommand(InetSocketAddress server,
CountDownLatch latch,
String itemName) |
Command |
BinaryCommandFactory.createStatsCommand(InetSocketAddress server,
CountDownLatch latch,
String itemName) |
Command |
TextCommandFactory.createTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply) |
Command |
KestrelCommandFactory.createTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply) |
Command |
BinaryCommandFactory.createTouchCommand(String key,
byte[] keyBytes,
CountDownLatch latch,
int exp,
boolean noreply) |
Command |
TextCommandFactory.createVerbosityCommand(CountDownLatch latch,
int level,
boolean noreply)
Create verbosity command
|
Command |
KestrelCommandFactory.createVerbosityCommand(CountDownLatch latch,
int level,
boolean noreply) |
Command |
BinaryCommandFactory.createVerbosityCommand(CountDownLatch latch,
int level,
boolean noreply) |
Command |
TextCommandFactory.createVersionCommand(CountDownLatch latch,
InetSocketAddress server) |
Command |
KestrelCommandFactory.createVersionCommand(CountDownLatch latch,
InetSocketAddress server) |
Command |
BinaryCommandFactory.createVersionCommand(CountDownLatch latch,
InetSocketAddress server) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Command> |
AssocCommandAware.getAssocCommands() |
Map<Object,Command> |
MergeCommandsAware.getMergeCommands() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AssocCommandAware.setAssocCommands(List<Command> assocCommands) |
void |
MergeCommandsAware.setMergeCommands(Map<Object,Command> mergeCommands) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BaseBinaryCommand
Base Binary command.
|
class |
BinaryAppendPrependCommand
Binary protocol for append,prepend
|
class |
BinaryAuthListMechanismsCommand
List auth mechanisms command
|
class |
BinaryAuthStartCommand
Auth start command
|
class |
BinaryAuthStepCommand
Auth step command
|
class |
BinaryCASCommand
CAS binary protocol implementation
|
class |
BinaryDeleteCommand
Binary delete command
|
class |
BinaryFlushAllCommand
Flush command for binary protocol
|
class |
BinaryGetAndTouchCommand
Binary GAT/GATQ command
|
class |
BinaryGetCommand
Implements get/getq,getk/getkq protocol
|
class |
BinaryGetMultiCommand
A command for holding getkq commands
|
class |
BinaryIncrDecrCommand
Binary incr/decr command
|
class |
BinaryNoopCommand
Implement noop protocol
|
class |
BinaryQuitCommand
Quit command for binary protocol
|
class |
BinarySetMultiCommand
A command for holding getkq commands
|
class |
BinaryStatsCommand
Stats command for binary protocol
|
class |
BinaryStoreCommand
Base binary protocol implementation
|
class |
BinaryTouchCommand
Binary touch command
|
class |
BinaryVerbosityCommand
Binary verbosity command
|
class |
BinaryVersionCommand
Version command for binary protocol
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Command> |
BinaryGetCommand.getAssocCommands() |
Map<Object,Command> |
BinarySetMultiCommand.getMergeCommands() |
Map<Object,Command> |
BinaryGetMultiCommand.getMergeCommands() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BinaryGetCommand.setAssocCommands(List<Command> assocCommands) |
void |
BinarySetMultiCommand.setMergeCommands(Map<Object,Command> mergeCommands) |
void |
BinaryGetMultiCommand.setMergeCommands(Map<Object,Command> mergeCommands) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
KestrelDeleteCommand |
class |
KestrelFlushAllCommand
Kestrel flush command
|
class |
KestrelGetCommand
Kestrel get command
|
class |
KestrelSetCommand
kestrel set command
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
TextCacheDumpCommand |
class |
TextCASCommand
CAS command for text protocol
|
class |
TextDeleteCommand
Delete command for text protocol
|
class |
TextFlushAllCommand
FlushAll command for text protocol
|
class |
TextGetCommand
Abstract get command for text protocol
|
class |
TextGetMultiCommand
Bulk-get command for text protocol
|
class |
TextGetOneCommand
Get command for text protocol
|
class |
TextIncrDecrCommand
Incr/Decr command for text protocol
|
class |
TextQuitCommand
Quit command for text protocol
|
class |
TextStatsCommand
Stats command for text protocol
|
class |
TextStoreCommand
Store command for text protocol
|
class |
TextTouchCommand
Touch command for touch protocol.
|
class |
TextVerbosityCommand
Verbosity command for text protocol
|
class |
TextVersionCommand
Version command for text protocol
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Command> |
TextGetCommand.getAssocCommands() |
Map<Object,Command> |
TextGetCommand.getMergeCommands() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TextGetCommand.setAssocCommands(List<Command> assocCommands) |
void |
TextGetCommand.setMergeCommands(Map<Object,Command> mergeCommands) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected BlockingQueue<Command> |
MemcachedTCPSession.commandAlreadySent
Command which are already sent
|
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
MemcachedTCPSession.getCurrentCommand() |
Command |
Optimizer.optimiezeGet(Queue writeQueue,
Queue<Command> executingCmds,
Command optimiezeCommand)
Merge get operation to multi-get operation
|
Command |
Optimizer.optimiezeMergeBuffer(Command optimiezeCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize)
merge buffers to fit socket's send buffer size
|
Command |
Optimizer.optimiezeSet(Queue writeQueue,
Queue<Command> executingCmds,
Command optimiezeCommand,
int sendBufferSize) |
Command |
Optimizer.optimize(Command currentCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Command> |
Optimizer.getLocalList() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MemcachedTCPSession.addCommand(Command command) |
Command |
Optimizer.optimiezeGet(Queue writeQueue,
Queue<Command> executingCmds,
Command optimiezeCommand)
Merge get operation to multi-get operation
|
Command |
Optimizer.optimiezeMergeBuffer(Command optimiezeCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize)
merge buffers to fit socket's send buffer size
|
Command |
Optimizer.optimiezeSet(Queue writeQueue,
Queue<Command> executingCmds,
Command optimiezeCommand,
int sendBufferSize) |
Command |
Optimizer.optimize(Command currentCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize) |
Session |
MemcachedConnector.send(Command msg) |
void |
MemcachedTCPSession.setCurrentCommand(Command cmd) |
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
Optimizer.optimiezeGet(Queue writeQueue,
Queue<Command> executingCmds,
Command optimiezeCommand)
Merge get operation to multi-get operation
|
Command |
Optimizer.optimiezeMergeBuffer(Command optimiezeCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize)
merge buffers to fit socket's send buffer size
|
Command |
Optimizer.optimiezeSet(Queue writeQueue,
Queue<Command> executingCmds,
Command optimiezeCommand,
int sendBufferSize) |
Command |
Optimizer.optimize(Command currentCommand,
Queue writeQueue,
Queue<Command> executingCmds,
int sendBufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
Connector.send(Command packet) |
Copyright © 2013. All Rights Reserved.