Package org.apache.druid.server.http
Class SelfDiscoveryResource
java.lang.Object
org.apache.druid.server.http.SelfDiscoveryResource
This class is annotated
Singleton rather than LazySingleton because it adds
a lifecycle handler in the constructor. That should happen before the lifecycle is started, i. e. eagerly during the
DI configuration phase.-
Constructor Summary
ConstructorsConstructorDescriptionSelfDiscoveryResource(DruidNode thisDruidNode, Set<NodeRole> thisNodeRoles, DruidNodeDiscoveryProvider nodeDiscoveryProvider, Lifecycle lifecycle) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseSee the description of this endpoint in api-reference.md.javax.ws.rs.core.ResponseSee the description of this endpoint in api-reference.md.
-
Constructor Details
-
SelfDiscoveryResource
@Inject public SelfDiscoveryResource(DruidNode thisDruidNode, Set<NodeRole> thisNodeRoles, DruidNodeDiscoveryProvider nodeDiscoveryProvider, Lifecycle lifecycle)
-
-
Method Details
-
getSelfDiscoveredStatus
public javax.ws.rs.core.Response getSelfDiscoveredStatus()See the description of this endpoint in api-reference.md. -
getSelfDiscovered
public javax.ws.rs.core.Response getSelfDiscovered()See the description of this endpoint in api-reference.md.
-