public interface ConnectionObserver
Modifier and Type | Method and Description |
---|---|
void |
connectionEstablished(java.net.SocketAddress sa,
int reconnectCount)
A connection has just successfully been established on the given socket.
|
void |
connectionLost(java.net.SocketAddress sa)
A connection was just lost on the given socket.
|
void connectionEstablished(java.net.SocketAddress sa, int reconnectCount)
sa
- the address of the node whose connection was establishedreconnectCount
- the number of attempts before the connection was
establishedvoid connectionLost(java.net.SocketAddress sa)
sa
- the address of the node whose connection was lostCopyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.