Package org.voltdb.client
Interface Client2Notification.ConnectionStatus
- Enclosing class:
- Client2Notification
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Notification of connection status change.
This is used for connect failure, connection up, and connection down events. The three types of events are are handled by separate notifiers, but use a common structure for notifications.
The affected server is identified by host (name or IP address) and TCP port number.
- See Also:
-
Method Summary
-
Method Details
-
accept
Indicates a change in connection status for the identified server.- Parameters:
host
- host name or IP addressport
- TCP port number
-