Uses of Interface
net.rubyeye.xmemcached.CommandFactory
Packages that use CommandFactory
Package
Description
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
Memcached 1.4.3 or later version has supported SASL authentication,these classes are used for that
Memcached protocol implementations
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 CommandFactoryModifier and TypeFieldDescriptionprotected CommandFactory
XMemcachedClient.commandFactory
protected CommandFactory
XMemcachedClientBuilder.commandFactory
Methods in net.rubyeye.xmemcached that return CommandFactoryModifier and TypeMethodDescriptionMemcachedClientBuilder.getCommandFactory()
get xmemcached's command factoryfinal CommandFactory
XMemcachedClient.getCommandFactory()
final CommandFactory
XMemcachedClientBuilder.getCommandFactory()
Methods in net.rubyeye.xmemcached with parameters of type CommandFactoryModifier and TypeMethodDescriptionprivate void
XMemcachedClient.buildConnector
(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator bufferAllocator, Configuration configuration, Map<SocketOption, 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.final void
XMemcachedClientBuilder.setCommandFactory
(CommandFactory commandFactory) Constructors in net.rubyeye.xmemcached with parameters of type CommandFactoryModifierConstructorDescriptionXMemcachedClient
(InetSocketAddress inetSocketAddress, int weight, CommandFactory cmdFactory) XMemcached Constructor.XMemcachedClient
(List<InetSocketAddress> addressList, CommandFactory cmdFactory) XMemcached Constructor.Every server's weight is one by default.(package private)
XMemcachedClient
(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator allocator, Configuration conf, Map<SocketOption, Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder, Map<InetSocketAddress, InetSocketAddress> addressMap, int[] weights, List<MemcachedClientStateListener> stateListeners, Map<InetSocketAddress, AuthInfo> infoMap, int poolSize, long connectTimeout, String name, boolean failureMode, boolean resolveInetAddresses) XMemcachedClient constructor.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. -
Uses of CommandFactory in net.rubyeye.xmemcached.auth
Fields in net.rubyeye.xmemcached.auth declared as CommandFactoryConstructors in net.rubyeye.xmemcached.auth with parameters of type CommandFactoryModifierConstructorDescriptionAuthTask
(AuthInfo authInfo, CommandFactory commandFactory, MemcachedTCPSession memcachedTCPSession) -
Uses of CommandFactory in net.rubyeye.xmemcached.aws
Constructors in net.rubyeye.xmemcached.aws with parameters of type CommandFactoryModifierConstructorDescriptionAWSElasticCacheClient
(InetSocketAddress addr, long pollConfigIntervalMills, CommandFactory cmdFactory) AWSElasticCacheClient
(List<InetSocketAddress> addrs, long pollConfigIntervalMills, CommandFactory commandFactory) Construct an AWSElasticCacheClient instance with config server addresses.(package private)
AWSElasticCacheClient
(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator allocator, Configuration conf, Map<SocketOption, Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder, List<MemcachedClientStateListener> stateListeners, Map<InetSocketAddress, AuthInfo> map, int poolSize, long connectTimeout, String name, boolean failureMode, boolean resolveInetAddresses, List<InetSocketAddress> configAddrs, long pollConfigIntervalMills) -
Uses of CommandFactory in net.rubyeye.xmemcached.command
Classes in net.rubyeye.xmemcached.command that implement CommandFactoryModifier and TypeClassDescriptionclass
Binary protocol command factoryclass
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
Command Factory for creating text protocol commands. -
Uses of CommandFactory in net.rubyeye.xmemcached.impl
Fields in net.rubyeye.xmemcached.impl declared as CommandFactoryModifier and TypeFieldDescriptionprivate final CommandFactory
MemcachedConnector.commandFactory
private final CommandFactory
MemcachedTCPSession.commandFactory
Constructors in net.rubyeye.xmemcached.impl with parameters of type CommandFactoryModifierConstructorDescriptionMemcachedConnector
(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)