Package | Description |
---|---|
com.google.code.yanf4j.core |
Networking core package
|
com.google.code.yanf4j.core.impl | |
net.rubyeye.xmemcached |
XMemcached's main classes and interfaces,use these
classes/interfaces to interact with memcached servers.
|
net.rubyeye.xmemcached.networking |
Networking layout to talk with memcached.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
Controller.setSocketOption(SocketOption<T> socketOption,
T value) |
Modifier and Type | Field and Description |
---|---|
static SocketOption<Boolean> |
StandardSocketOption.SO_KEEPALIVE
Keep connection alive.
|
static SocketOption<Integer> |
StandardSocketOption.SO_LINGER
Linger on close if data is present.
|
static SocketOption<Integer> |
StandardSocketOption.SO_RCVBUF
The size of the socket receive buffer.
|
static SocketOption<Boolean> |
StandardSocketOption.SO_REUSEADDR
Re-use address.
|
static SocketOption<Integer> |
StandardSocketOption.SO_SNDBUF
The size of the socket send buffer.
|
static SocketOption<Boolean> |
StandardSocketOption.TCP_NODELAY
Disable the Nagle algorithm.
|
Modifier and Type | Field and Description |
---|---|
protected Map<SocketOption,Object> |
AbstractController.socketOptions
Socket options
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractController.getSocketOption(SocketOption<T> socketOption) |
<T> void |
AbstractController.setSocketOption(SocketOption<T> socketOption,
T value) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractController.setSocketOptions(Map<SocketOption,Object> socketOptions) |
Modifier and Type | Method and Description |
---|---|
static Map<SocketOption,Object> |
XMemcachedClientBuilder.getDefaultSocketOptions() |
Map<SocketOption,Object> |
XMemcachedClientBuilder.getSocketOptions() |
Map<SocketOption,Object> |
MemcachedClientBuilder.getSocketOptions()
Get all tcp socket options
|
Modifier and Type | Method and Description |
---|---|
void |
XMemcachedClientBuilder.setSocketOption(SocketOption socketOption,
Object value) |
void |
MemcachedClientBuilder.setSocketOption(SocketOption socketOption,
Object value)
Set tcp socket option
|
Modifier and Type | Method and Description |
---|---|
void |
Connector.setSocketOptions(Map<SocketOption,Object> options) |
Copyright © 2016. All rights reserved.