public interface RawMemcacheClient extends ObservableClient
| Modifier and Type | Method and Description |
|---|---|
default java.util.Map<java.lang.String,RawMemcacheClient> |
getAllNodes() |
int |
numActiveConnections()
How many active socket connections do we have (i.e.
|
default int |
numPendingRequests() |
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.
|
default java.util.stream.Stream<AddressAndClient> |
streamNodes()
Intended for internal usage.
|
awaitConnected, awaitDisconnected, awaitFullyConnected, awaitFullyDisconnected, awaitFuture, connectFuture, disconnectFuture, fullyConnectedFuture, fullyDisconnectFuture, getConnectionFailure, isConnected, notifyConnectionChange, 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 ObservableClientdefault int numPendingRequests()
default java.util.Map<java.lang.String,RawMemcacheClient> getAllNodes()
default java.util.stream.Stream<AddressAndClient> streamNodes()
getAllNodes() instead.Copyright © 2023 Spotify AB. All Rights Reserved.