public abstract class AbstractRawMemcacheClient extends java.lang.Object implements RawMemcacheClient
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.EventBus |
eventBus |
| Constructor and Description |
|---|
AbstractRawMemcacheClient() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
notifyConnectionChange() |
void |
registerForConnectionChanges(ConnectionChangeListener listener)
Register for connection change events.
|
void |
unregisterForConnectionChanges(ConnectionChangeListener listener)
Unregister the provided listener so that it no longer receives connection change callbacks.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnumActiveConnections, numTotalConnections, send, shutdownawaitConnected, awaitDisconnected, awaitFullyConnected, awaitFullyDisconnected, awaitFuture, connectFuture, disconnectFuture, fullyConnectedFuture, fullyDisconnectFuture, getConnectionFailure, isConnectedpublic void registerForConnectionChanges(ConnectionChangeListener listener)
ObservableClientregisterForConnectionChanges in interface ObservableClientlistener - the listener to notify of connection changespublic void unregisterForConnectionChanges(ConnectionChangeListener listener)
ObservableClientunregisterForConnectionChanges in interface ObservableClientlistener - the listener to unregister.protected void notifyConnectionChange()
Copyright © 2020 Spotify AB. All Rights Reserved.