| Modifier and Type | Field and Description |
|---|---|
private java.util.List<HostAndPort> |
MemcacheClientBuilder.addresses |
| Modifier and Type | Method and Description |
|---|---|
private RawMemcacheClient |
MemcacheClientBuilder.createClient(HostAndPort address,
boolean binary,
Authenticator authenticator) |
private RawMemcacheClient |
MemcacheClientBuilder.createReconnectingClient(HostAndPort address,
boolean binary,
Authenticator authenticator) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<RawMemcacheClient> |
MemcacheClientBuilder.createClients(java.util.List<HostAndPort> addresses,
boolean binary,
Authenticator authenticator) |
| Modifier and Type | Field and Description |
|---|---|
private HostAndPort |
DefaultRawMemcacheClient.address |
| Modifier and Type | Method and Description |
|---|---|
static java.util.concurrent.CompletionStage<RawMemcacheClient> |
DefaultRawMemcacheClient.connect(HostAndPort address,
int outstandingRequestLimit,
int batchSize,
boolean binary,
java.util.concurrent.Executor executor,
long connectionTimeoutMillis,
java.nio.charset.Charset charset,
Metrics metrics,
int maxSetLength,
io.netty.channel.EventLoopGroup eventLoopGroup,
java.lang.Class<? extends io.netty.channel.Channel> channelClass) |
void |
Request.fail(java.lang.Throwable e,
HostAndPort address) |
void |
AbstractRequest.fail(java.lang.Throwable e,
HostAndPort address) |
void |
Request.handle(java.lang.Object msg,
HostAndPort address) |
| Constructor and Description |
|---|
DefaultRawMemcacheClient(HostAndPort address,
io.netty.channel.Channel channel,
int outstandingRequestLimit,
int batchSize,
java.util.concurrent.Executor executor,
long connectionTimeoutMillis,
Metrics metrics,
int maxSetLength) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StatsRequest.handle(AsciiResponse response,
HostAndPort server) |
void |
GetRequest.handle(AsciiResponse response,
HostAndPort server) |
protected void |
TouchRequest.handle(AsciiResponse response,
HostAndPort server) |
void |
DeleteRequest.handle(AsciiResponse response,
HostAndPort server) |
void |
MultigetRequest.handle(AsciiResponse response,
HostAndPort server) |
void |
DeleteWithCasRequest.handle(AsciiResponse response,
HostAndPort server) |
void |
IncrRequest.handle(AsciiResponse response,
HostAndPort server) |
protected void |
FlushRequest.handle(AsciiResponse response,
HostAndPort server) |
void |
SetRequest.handle(AsciiResponse response,
HostAndPort server) |
protected abstract void |
AsciiRequest.handle(AsciiResponse response,
HostAndPort server) |
void |
AsciiRequest.handle(java.lang.Object response,
HostAndPort server) |
| Modifier and Type | Method and Description |
|---|---|
void |
StatsRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
GetRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
TouchRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
DeleteRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
MultigetRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
NoopRequest.handle(BinaryResponse replies,
HostAndPort server) |
protected abstract void |
BinaryRequest.handle(BinaryResponse response,
HostAndPort server) |
protected void |
PlaintextAuthenticateRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
IncrRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
FlushRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
SetRequest.handle(BinaryResponse replies,
HostAndPort server) |
void |
BinaryRequest.handle(java.lang.Object response,
HostAndPort server) |
| Modifier and Type | Method and Description |
|---|---|
static HostAndPort |
HostAndPort.fromHost(java.lang.String host)
Build a HostAndPort instance from a host only.
|
static HostAndPort |
HostAndPort.fromParts(java.lang.String host,
int port)
Build a HostAndPort instance from separate host and port values.
|
static HostAndPort |
HostAndPort.fromString(java.lang.String hostPortString)
Split a freeform string into a host and port, without strict validation.
|
HostAndPort |
HostAndPort.requireBracketsForIPv6()
Generate an error if the host might be a non-bracketed IPv6 literal.
|
HostAndPort |
HostAndPort.withDefaultPort(int defaultPort)
Provide a default port if the parsed string contained only a host.
|
| Modifier and Type | Field and Description |
|---|---|
private HostAndPort |
AddressAndClient.address |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<HostAndPort,RawMemcacheClient> |
ResolvingKetamaClient.clients |
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
AddressAndClient.getAddress() |
| Modifier and Type | Method and Description |
|---|---|
RawMemcacheClient |
ResolvingKetamaClient.Connector.connect(HostAndPort input) |
| Constructor and Description |
|---|
AddressAndClient(HostAndPort address,
RawMemcacheClient client) |
| Modifier and Type | Field and Description |
|---|---|
private HostAndPort |
ReconnectingClient.address |
| Constructor and Description |
|---|
ReconnectingClient(BackoffFunction backoffFunction,
java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
Connector connector,
Authenticator authenticator,
HostAndPort address) |
ReconnectingClient(BackoffFunction backoffFunction,
java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
Connector connector,
HostAndPort address) |
ReconnectingClient(BackoffFunction backoffFunction,
java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
HostAndPort address,
int outstandingRequestLimit,
int batchSize,
boolean binary,
Authenticator authenticator,
java.util.concurrent.Executor executor,
long connectionTimeoutMillis,
java.nio.charset.Charset charset,
Metrics metrics,
int maxSetLength,
io.netty.channel.EventLoopGroup eventLoopGroup,
java.lang.Class<? extends io.netty.channel.Channel> channelClass) |
Copyright © 2020 Spotify AB. All Rights Reserved.