Package org.elasticsearch.readiness
Interface ReadinessService.BoundAddressListener
- Enclosing class:
- ReadinessService
public static interface ReadinessService.BoundAddressListener
A listener to be notified when the readiness service establishes the port it's listening on.
The
addressBound(BoundTransportAddress)
method is called after the readiness service socket
is up and listening.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addressBound
(BoundTransportAddress address) This method is going to be called only the first time the address is bound.
-
Method Details
-
addressBound
This method is going to be called only the first time the address is bound. The readiness service always binds to the same port it did initially. Subsequent changes to ready from not-ready states will not send this notification.- Parameters:
address
-
-