Uses of Class
com.google.code.yanf4j.core.SocketOption
Packages that use SocketOption
Package
Description
Networking core package
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
Networking layout to talk with memcached.
-
Uses of SocketOption in com.google.code.yanf4j.core
Methods in com.google.code.yanf4j.core with parameters of type SocketOptionModifier and TypeMethodDescription<T> void
Controller.setSocketOption
(SocketOption<T> socketOption, T value) -
Uses of SocketOption in com.google.code.yanf4j.core.impl
Fields in com.google.code.yanf4j.core.impl declared as SocketOptionModifier and TypeFieldDescriptionstatic final SocketOption
<Boolean> StandardSocketOption.SO_KEEPALIVE
Keep connection alive.static final SocketOption
<Integer> StandardSocketOption.SO_LINGER
Linger on close if data is present.static final SocketOption
<Integer> StandardSocketOption.SO_RCVBUF
The size of the socket receive buffer.static final SocketOption
<Boolean> StandardSocketOption.SO_REUSEADDR
Re-use address.static final SocketOption
<Integer> StandardSocketOption.SO_SNDBUF
The size of the socket send buffer.static final SocketOption
<Boolean> StandardSocketOption.TCP_NODELAY
Disable the Nagle algorithm.Fields in com.google.code.yanf4j.core.impl with type parameters of type SocketOptionModifier and TypeFieldDescriptionprotected Map
<SocketOption, Object> AbstractController.socketOptions
Socket optionsMethods in com.google.code.yanf4j.core.impl with parameters of type SocketOptionModifier and TypeMethodDescription<T> T
AbstractController.getSocketOption
(SocketOption<T> socketOption) <T> void
AbstractController.setSocketOption
(SocketOption<T> socketOption, T value) Method parameters in com.google.code.yanf4j.core.impl with type arguments of type SocketOptionModifier and TypeMethodDescriptionvoid
AbstractController.setSocketOptions
(Map<SocketOption, Object> socketOptions) -
Uses of SocketOption in net.rubyeye.xmemcached
Fields in net.rubyeye.xmemcached with type parameters of type SocketOptionModifier and TypeFieldDescriptionprotected final Map
<SocketOption, Object> XMemcachedClientBuilder.socketOptions
Methods in net.rubyeye.xmemcached that return types with arguments of type SocketOptionModifier and TypeMethodDescriptionstatic final Map
<SocketOption, Object> XMemcachedClientBuilder.getDefaultSocketOptions()
MemcachedClientBuilder.getSocketOptions()
Get all tcp socket optionsXMemcachedClientBuilder.getSocketOptions()
Methods in net.rubyeye.xmemcached with parameters of type SocketOptionModifier and TypeMethodDescriptionvoid
MemcachedClientBuilder.setSocketOption
(SocketOption socketOption, Object value) Set tcp socket optionvoid
XMemcachedClientBuilder.setSocketOption
(SocketOption socketOption, Object value) Method parameters in net.rubyeye.xmemcached with type arguments of type SocketOptionModifier and TypeMethodDescriptionprivate void
XMemcachedClient.buildConnector
(MemcachedSessionLocator locator, MemcachedSessionComparator comparator, BufferAllocator bufferAllocator, Configuration configuration, Map<SocketOption, Object> socketOptions, CommandFactory commandFactory, Transcoder transcoder) Constructor parameters in net.rubyeye.xmemcached with type arguments of type SocketOptionModifierConstructorDescription(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 SocketOption in net.rubyeye.xmemcached.aws
Constructor parameters in net.rubyeye.xmemcached.aws with type arguments of type SocketOptionModifierConstructorDescription(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 SocketOption in net.rubyeye.xmemcached.networking
Method parameters in net.rubyeye.xmemcached.networking with type arguments of type SocketOptionModifier and TypeMethodDescriptionvoid
Connector.setSocketOptions
(Map<SocketOption, Object> options)