Package | Description |
---|---|
net.rubyeye.xmemcached |
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
|
net.rubyeye.xmemcached.auth |
Memcached 1.4.3 or later version has supported SASL authentication,these classes are used for that
|
net.rubyeye.xmemcached.aws | |
net.rubyeye.xmemcached.command |
Memcached protocol implementations
|
net.rubyeye.xmemcached.impl |
Manage tcp connection,memcached protocol optimized,and some MBeans for monitor.
|
net.rubyeye.xmemcached.utils |
XMemcached Utilities
|
Modifier and Type | Field and Description |
---|---|
protected CommandFactory |
XMemcachedClient.commandFactory |
protected CommandFactory |
XMemcachedClientBuilder.commandFactory |
Modifier and Type | Method and Description |
---|---|
CommandFactory |
MemcachedClientBuilder.getCommandFactory()
get xmemcached's command factory
|
CommandFactory |
XMemcachedClient.getCommandFactory() |
CommandFactory |
XMemcachedClientBuilder.getCommandFactory() |
Modifier and Type | Method and Description |
---|---|
protected MemcachedConnector |
XMemcachedClient.newConnector(BufferAllocator bufferAllocator,
Configuration configuration,
MemcachedSessionLocator memcachedSessionLocator,
MemcachedSessionComparator memcachedSessionComparator,
CommandFactory commandFactory,
int poolSize,
int maxQueuedNoReplyOperations) |
void |
MemcachedClientBuilder.setCommandFactory(CommandFactory commandFactory)
set xmemcached's command factory.Default is TextCommandFactory,which implements memcached text
protocol.
|
void |
XMemcachedClientBuilder.setCommandFactory(CommandFactory commandFactory) |
Constructor and Description |
---|
XMemcachedClient(InetSocketAddress inetSocketAddress,
int weight,
CommandFactory cmdFactory)
XMemcached Constructor.
|
XMemcachedClient(List<InetSocketAddress> addressList,
CommandFactory cmdFactory)
XMemcached Constructor.Every server's weight is one by default.
|
XMemcachedClient(MemcachedSessionLocator locator,
MemcachedSessionComparator comparator,
BufferAllocator allocator,
Configuration conf,
Map<SocketOption,Object> socketOptions,
CommandFactory commandFactory,
Transcoder transcoder,
Map<InetSocketAddress,InetSocketAddress> addressMap,
List<MemcachedClientStateListener> stateListeners,
Map<InetSocketAddress,AuthInfo> map,
int poolSize,
long connectTimeout,
String name,
boolean failureMode,
boolean resolveInetAddresses)
XMemcachedClient constructor.Every server's weight is one by default.
|
Constructor and Description |
---|
AuthTask(AuthInfo authInfo,
CommandFactory commandFactory,
MemcachedTCPSession memcachedTCPSession) |
Constructor and Description |
---|
AWSElasticCacheClient(InetSocketAddress addr,
long pollConfigIntervalMills,
CommandFactory cmdFactory) |
AWSElasticCacheClient(List<InetSocketAddress> addrs,
long pollConfigIntervalMills,
CommandFactory commandFactory)
Construct an AWSElasticCacheClient instance with config server addresses.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryCommandFactory
Binary protocol command factory
|
class |
KestrelCommandFactory
Kestrel is a message queue written in scala by robey(http://github.com/robey/kestrel).It's
protocol use memcached text protocol,so you can use any memcached clients to talk with it.But
it's protocol implementation is not all compatible with memcached standard protocol,So xmemcached
supply this command factory for it.
|
class |
TextCommandFactory
Command Factory for creating text protocol commands.
|
Constructor and Description |
---|
MemcachedConnector(Configuration configuration,
MemcachedSessionLocator locator,
MemcachedSessionComparator comparator,
BufferAllocator allocator,
CommandFactory commandFactory,
int poolSize,
int maxQueuedNoReplyOperations) |
MemcachedTCPSession(NioSessionConfig sessionConfig,
int readRecvBufferSize,
MemcachedOptimizer optimiezer,
int readThreadCount,
CommandFactory commandFactory) |
Modifier and Type | Method and Description |
---|---|
CommandFactory |
XMemcachedClientFactoryBean.getCommandFactory() |
Modifier and Type | Method and Description |
---|---|
void |
XMemcachedClientFactoryBean.setCommandFactory(CommandFactory commandFactory) |
Copyright © 2021. All rights reserved.