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 CommandFactoryXMemcachedClient.commandFactoryprotected CommandFactoryXMemcachedClientBuilder.commandFactoryMethods in net.rubyeye.xmemcached that return CommandFactoryModifier and TypeMethodDescriptionMemcachedClientBuilder.getCommandFactory()get xmemcached's command factoryfinal CommandFactoryXMemcachedClient.getCommandFactory()final CommandFactoryXMemcachedClientBuilder.getCommandFactory()Methods in net.rubyeye.xmemcached with parameters of type CommandFactoryModifier and TypeMethodDescriptionprotected MemcachedConnectorXMemcachedClient.newConnector(BufferAllocator bufferAllocator, Configuration configuration, MemcachedSessionLocator memcachedSessionLocator, MemcachedSessionComparator memcachedSessionComparator, CommandFactory commandFactory, int poolSize, int maxQueuedNoReplyOperations) voidMemcachedClientBuilder.setCommandFactory(CommandFactory commandFactory) set xmemcached's command factory.Default is TextCommandFactory,which implements memcached text protocol.final voidXMemcachedClientBuilder.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.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
Constructors 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. -
Uses of CommandFactory in net.rubyeye.xmemcached.command
Classes in net.rubyeye.xmemcached.command that implement CommandFactoryModifier and TypeClassDescriptionclassBinary protocol command factoryclassKestrel 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.classCommand Factory for creating text protocol commands. -
Uses of CommandFactory in net.rubyeye.xmemcached.impl
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)