public abstract class AbstractRawMemcacheClient extends 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, shutdownisConnectedpublic 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 © 2017 Spotify AB. All Rights Reserved.