| Package | Description |
|---|---|
| com.spotify.folsom | |
| com.spotify.folsom.reconnect |
| Modifier and Type | Field and Description |
|---|---|
private ReconnectionListener |
MemcacheClientBuilder.reconnectionListener |
| Modifier and Type | Method and Description |
|---|---|
MemcacheClientBuilder<V> |
MemcacheClientBuilder.withReconnectionListener(ReconnectionListener reconnectionListener)
Specify how to handle reconnections.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReconnectionListener
A listener for each reconnection event.
|
class |
CatchingReconnectionListener
A
ReconnectionListener which ensures the methods never throw Exception (though
Error and Throwable are not caught). |
static class |
ReconnectingClient.StandardReconnectionListener
This class should be regarded as internal API.
|
| Modifier and Type | Field and Description |
|---|---|
private ReconnectionListener |
CatchingReconnectionListener.delegate |
private ReconnectionListener |
ReconnectingClient.reconnectionListener |
| Constructor and Description |
|---|
CatchingReconnectionListener(ReconnectionListener delegate) |
ReconnectingClient(BackoffFunction backoffFunction,
java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
Connector connector,
Authenticator authenticator,
HostAndPort address,
ReconnectionListener reconnectionListener) |
ReconnectingClient(BackoffFunction backoffFunction,
java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
Connector connector,
HostAndPort address,
ReconnectionListener reconnectionListener) |
ReconnectingClient(BackoffFunction backoffFunction,
java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
HostAndPort address,
ReconnectionListener reconnectionListener,
int outstandingRequestLimit,
int eventLoopThreadFlushMaxBatchSize,
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 © 2023 Spotify AB. All Rights Reserved.