Package org.apache.druid.server.http
Class CoordinatorResource
- java.lang.Object
-
- org.apache.druid.server.http.CoordinatorResource
-
public class CoordinatorResource extends Object
-
-
Constructor Summary
Constructors Constructor Description CoordinatorResource(DruidCoordinator coordinator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetLeader()javax.ws.rs.core.ResponsegetLoadQueue(String simple, String full)javax.ws.rs.core.ResponsegetLoadStatus(String simple, String full, String computeUsingClusterView)javax.ws.rs.core.ResponseisLeader()This is an unsecured endpoint, defined as such in UNSECURED_PATHS in CoordinatorJettyServerInitializer
-
-
-
Constructor Detail
-
CoordinatorResource
@Inject public CoordinatorResource(DruidCoordinator coordinator)
-
-
Method Detail
-
getLeader
public javax.ws.rs.core.Response getLeader()
-
isLeader
public javax.ws.rs.core.Response isLeader()
This is an unsecured endpoint, defined as such in UNSECURED_PATHS in CoordinatorJettyServerInitializer
-
getLoadStatus
public javax.ws.rs.core.Response getLoadStatus(String simple, String full, @Nullable String computeUsingClusterView)
-
-