Uses of Interface
net.rubyeye.xmemcached.CommandFactory
-
Packages that use CommandFactory 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 thatnet.rubyeye.xmemcached.aws net.rubyeye.xmemcached.command Memcached protocol implementationsnet.rubyeye.xmemcached.impl Manage tcp connection,memcached protocol optimized,and some MBeans for monitor. -
-
Uses of CommandFactory in net.rubyeye.xmemcached
Fields in net.rubyeye.xmemcached declared as CommandFactory Modifier and Type Field Description protected CommandFactory
XMemcachedClient. commandFactory
protected CommandFactory
XMemcachedClientBuilder. commandFactory
Methods in net.rubyeye.xmemcached that return CommandFactory Modifier and Type Method Description CommandFactory
MemcachedClientBuilder. getCommandFactory()
get xmemcached's command factoryCommandFactory
XMemcachedClient. getCommandFactory()
CommandFactory
XMemcachedClientBuilder. getCommandFactory()
Methods in net.rubyeye.xmemcached with parameters of type CommandFactory Modifier and Type Method Description private void
XMemcachedClient. buildConnector(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator bufferAllocator, Configuration configuration, java.util.Map<SocketOption,java.lang.Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder)
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)
Constructors in net.rubyeye.xmemcached with parameters of type CommandFactory Constructor Description XMemcachedClient(java.net.InetSocketAddress inetSocketAddress, int weight, CommandFactory cmdFactory)
XMemcached Constructor.XMemcachedClient(java.util.List<java.net.InetSocketAddress> addressList, CommandFactory cmdFactory)
XMemcached Constructor.Every server's weight is one by default.XMemcachedClient(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator allocator, Configuration conf, java.util.Map<SocketOption,java.lang.Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder, java.util.Map<java.net.InetSocketAddress,java.net.InetSocketAddress> addressMap, int[] weights, java.util.List<MemcachedClientStateListener> stateListeners, java.util.Map<java.net.InetSocketAddress,AuthInfo> infoMap, int poolSize, long connectTimeout, java.lang.String name, boolean failureMode, boolean resolveInetAddresses)
XMemcachedClient constructor.XMemcachedClient(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator allocator, Configuration conf, java.util.Map<SocketOption,java.lang.Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder, java.util.Map<java.net.InetSocketAddress,java.net.InetSocketAddress> addressMap, java.util.List<MemcachedClientStateListener> stateListeners, java.util.Map<java.net.InetSocketAddress,AuthInfo> map, int poolSize, long connectTimeout, java.lang.String name, boolean failureMode, boolean resolveInetAddresses)
XMemcachedClient constructor.Every server's weight is one by default. -
Uses of CommandFactory in net.rubyeye.xmemcached.auth
Fields in net.rubyeye.xmemcached.auth declared as CommandFactory Modifier and Type Field Description private CommandFactory
AuthTask. commandFactory
Constructors in net.rubyeye.xmemcached.auth with parameters of type CommandFactory Constructor Description AuthTask(AuthInfo authInfo, CommandFactory commandFactory, MemcachedTCPSession memcachedTCPSession)
-
Uses of CommandFactory in net.rubyeye.xmemcached.aws
Constructors in net.rubyeye.xmemcached.aws with parameters of type CommandFactory Constructor Description AWSElasticCacheClient(java.net.InetSocketAddress addr, long pollConfigIntervalMills, CommandFactory cmdFactory)
AWSElasticCacheClient(java.util.List<java.net.InetSocketAddress> addrs, long pollConfigIntervalMills, CommandFactory commandFactory)
Construct an AWSElasticCacheClient instance with config server addresses.AWSElasticCacheClient(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator allocator, Configuration conf, java.util.Map<SocketOption,java.lang.Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder, java.util.List<MemcachedClientStateListener> stateListeners, java.util.Map<java.net.InetSocketAddress,AuthInfo> map, int poolSize, long connectTimeout, java.lang.String name, boolean failureMode, boolean resolveInetAddresses, java.util.List<java.net.InetSocketAddress> configAddrs, long pollConfigIntervalMills)
-
Uses of CommandFactory in net.rubyeye.xmemcached.command
Classes in net.rubyeye.xmemcached.command that implement CommandFactory Modifier and Type Class Description class
BinaryCommandFactory
Binary protocol command factoryclass
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. -
Uses of CommandFactory in net.rubyeye.xmemcached.impl
Fields in net.rubyeye.xmemcached.impl declared as CommandFactory Modifier and Type Field Description private CommandFactory
MemcachedConnector. commandFactory
private CommandFactory
MemcachedTCPSession. commandFactory
Constructors in net.rubyeye.xmemcached.impl with parameters of type CommandFactory Constructor 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)
-