Uses of Interface
net.rubyeye.xmemcached.buffer.BufferAllocator
Packages that use BufferAllocator
Package
Description
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
ByteBuffer Wrapper,all classes of this package has been deprecated.
Memcached protocol implementations
Manage tcp connection,memcached protocol optimized,and some MBeans for monitor.
Networking layout to talk with memcached.
-
Uses of BufferAllocator in net.rubyeye.xmemcached
Fields in net.rubyeye.xmemcached declared as BufferAllocatorModifier and TypeFieldDescriptionprotected BufferAllocatorXMemcachedClientBuilder.bufferAllocatorMethods in net.rubyeye.xmemcached that return BufferAllocatorModifier and TypeMethodDescriptionMemcachedClientBuilder.getBufferAllocator()XMemcachedClientBuilder.getBufferAllocator()Methods in net.rubyeye.xmemcached with parameters of type BufferAllocatorModifier and TypeMethodDescriptionprivate voidXMemcachedClient.buildConnector(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator bufferAllocator, Configuration configuration, Map<SocketOption, Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder) protected MemcachedConnectorXMemcachedClient.newConnector(BufferAllocator bufferAllocator, Configuration configuration, MemcachedSessionLocator memcachedSessionLocator, MemcachedSessionComparator memcachedSessionComparator, CommandFactory commandFactory, int poolSize, int maxQueuedNoReplyOperations) voidCommandFactory.setBufferAllocator(BufferAllocator bufferAllocator) set command factory's buffer allocatorvoidMemcachedClient.setBufferAllocator(BufferAllocator bufferAllocator) Deprecated.voidMemcachedClientBuilder.setBufferAllocator(BufferAllocator bufferAllocator) Set nio ByteBuffer's allocator.Use SimpleBufferAllocator by default.You can choose CachedBufferAllocator.voidMemcachedOptimizer.setBufferAllocator(BufferAllocator bufferAllocator) Deprecated.final voidXMemcachedClient.setBufferAllocator(BufferAllocator bufferAllocator) voidXMemcachedClientBuilder.setBufferAllocator(BufferAllocator bufferAllocator) Constructors in net.rubyeye.xmemcached with parameters of type BufferAllocatorModifierConstructorDescription(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 BufferAllocator in net.rubyeye.xmemcached.aws
Constructors in net.rubyeye.xmemcached.aws with parameters of type BufferAllocatorModifierConstructorDescription(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 BufferAllocator in net.rubyeye.xmemcached.buffer
Classes in net.rubyeye.xmemcached.buffer that implement BufferAllocatorModifier and TypeClassDescriptionclassDeprecated.classDeprecated.Methods in net.rubyeye.xmemcached.buffer that return BufferAllocatorModifier and TypeMethodDescriptionstatic BufferAllocatorCachedBufferAllocator.newInstance()Deprecated.static BufferAllocatorCachedBufferAllocator.newInstance(int maxPoolSize, int maxCachedBufferSize) Deprecated.static final BufferAllocatorSimpleBufferAllocator.newInstance()Deprecated. -
Uses of BufferAllocator in net.rubyeye.xmemcached.command
Fields in net.rubyeye.xmemcached.command declared as BufferAllocatorMethods in net.rubyeye.xmemcached.command with parameters of type BufferAllocatorModifier and TypeMethodDescriptionvoidBinaryCommandFactory.setBufferAllocator(BufferAllocator bufferAllocator) voidKestrelCommandFactory.setBufferAllocator(BufferAllocator bufferAllocator) voidTextCommandFactory.setBufferAllocator(BufferAllocator bufferAllocator) -
Uses of BufferAllocator in net.rubyeye.xmemcached.impl
Fields in net.rubyeye.xmemcached.impl declared as BufferAllocatorModifier and TypeFieldDescriptionprivate BufferAllocatorMemcachedConnector.bufferAllocatorprivate BufferAllocatorMemcachedTCPSession.bufferAllocatorMethods in net.rubyeye.xmemcached.impl that return BufferAllocatorModifier and TypeMethodDescriptionMemcachedConnector.getBufferAllocator()final BufferAllocatorMemcachedTCPSession.getBufferAllocator()Methods in net.rubyeye.xmemcached.impl with parameters of type BufferAllocatorModifier and TypeMethodDescriptionvoidClosedMemcachedTCPSession.setBufferAllocator(BufferAllocator allocator) voidMemcachedConnector.setBufferAllocator(BufferAllocator allocator) final voidMemcachedTCPSession.setBufferAllocator(BufferAllocator bufferAllocator) voidOptimizer.setBufferAllocator(BufferAllocator bufferAllocator) Constructors in net.rubyeye.xmemcached.impl with parameters of type BufferAllocatorModifierConstructorDescriptionMemcachedConnector(Configuration configuration, MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator allocator, CommandFactory commandFactory, int poolSize, int maxQueuedNoReplyOperations) -
Uses of BufferAllocator in net.rubyeye.xmemcached.networking
Methods in net.rubyeye.xmemcached.networking with parameters of type BufferAllocatorModifier and TypeMethodDescriptionvoidConnector.setBufferAllocator(BufferAllocator bufferAllocator) voidMemcachedSession.setBufferAllocator(BufferAllocator allocator)