public interface RawMemcacheClient extends ObservableClient
| Modifier and Type | Method and Description |
|---|---|
int |
numActiveConnections()
How many active socket connections do we have (i.e.
|
int |
numTotalConnections()
How many actual socket connections do we have, including currently disconnected clients.
|
<T> java.util.concurrent.CompletionStage<T> |
send(Request<T> request) |
void |
shutdown()
Shut down the client.
|
awaitConnected, awaitDisconnected, awaitFullyConnected, awaitFullyDisconnected, awaitFuture, connectFuture, disconnectFuture, fullyConnectedFuture, fullyDisconnectFuture, getConnectionFailure, isConnected, registerForConnectionChanges, unregisterForConnectionChanges<T> java.util.concurrent.CompletionStage<T> send(Request<T> request)
void shutdown()
ObservableClient.registerForConnectionChanges(ConnectionChangeListener) to to
get notified when it has (possibly) finished shutting downint numTotalConnections()
numTotalConnections in interface ObservableClientint numActiveConnections()
numActiveConnections in interface ObservableClientCopyright © 2020 Spotify AB. All Rights Reserved.