Package org.apache.druid.server
Class ServiceAnnouncementState
java.lang.Object
org.apache.druid.server.ServiceAnnouncementState
Tracks whether this service has announced itself to service discovery and is ready to receive traffic.
Used by the
/status/ready endpoint to report readiness to load balancers.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServiceAnnouncementState
public ServiceAnnouncementState()
-
-
Method Details
-
markReady
public void markReady() -
markNotReady
public void markNotReady() -
isReady
public boolean isReady()
-