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> com.google.common.util.concurrent.ListenableFuture<T> |
send(Request<T> request) |
void |
shutdown()
Shut down the client.
|
isConnected, registerForConnectionChanges, unregisterForConnectionChanges<T> com.google.common.util.concurrent.ListenableFuture<T> send(Request<T> request)
void shutdown()
ObservableClient.registerForConnectionChanges(ConnectionChangeListener) to
to get notified when it has (possibly) finished shutting downint numTotalConnections()
int numActiveConnections()
Copyright © 2017 Spotify AB. All Rights Reserved.