public interface RawMemcacheClient
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConnected()
Is the client connected to a server?
|
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.
|
void |
registerForConnectionChanges(ConnectionChangeListener listener)
Register for connection change events.
|
<T> com.google.common.util.concurrent.ListenableFuture<T> |
send(Request<T> request) |
void |
shutdown()
Shut down the client.
|
void |
unregisterForConnectionChanges(ConnectionChangeListener listener)
Unregister for connection change events.
|
<T> com.google.common.util.concurrent.ListenableFuture<T> send(Request<T> request)
void shutdown()
registerForConnectionChanges(ConnectionChangeListener) to
to get notified when it has (possibly) finished shutting downboolean isConnected()
int numTotalConnections()
int numActiveConnections()
void registerForConnectionChanges(ConnectionChangeListener listener)
listener - void unregisterForConnectionChanges(ConnectionChangeListener listener)
listener - Copyright © 2015 Spotify AB. All Rights Reserved.