Class StatusResources
java.lang.Object
org.apache.drill.exec.server.rest.StatusResources
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Data Model for rendering /options on webUIstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMetrics
(String hostname) org.glassfish.jersey.server.mvc.Viewable
org.glassfish.jersey.server.mvc.Viewable
getSystemInternalOptions
(javax.ws.rs.core.UriInfo uriInfo) org.glassfish.jersey.server.mvc.Viewable
getSystemPublicOptions
(javax.ws.rs.core.UriInfo uriInfo) org.glassfish.jersey.server.mvc.Viewable
updateSystemOption
(String name, String value, String kind)
-
Field Details
-
REST_API_SUFFIX
- See Also:
-
PATH_STATUS_JSON
- See Also:
-
PATH_STATUS
- See Also:
-
PATH_METRICS
- See Also:
-
PATH_OPTIONS_JSON
- See Also:
-
PATH_INTERNAL_OPTIONS_JSON
- See Also:
-
PATH_OPTIONS
- See Also:
-
PATH_INTERNAL_OPTIONS
- See Also:
-
-
Constructor Details
-
StatusResources
public StatusResources()
-
-
Method Details
-
getStatusJSON
-
getStatus
@GET @Path("/status") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getStatus() -
getMetrics
@GET @Path("/status/metrics/{hostname}") @Produces("application/json") public String getMetrics(@PathParam("hostname") String hostname) throws Exception - Throws:
Exception
-
getSystemPublicOptionsJSON
@GET @Path("/options.json") @RolesAllowed("authenticated") @Produces("application/json") public List<StatusResources.OptionWrapper> getSystemPublicOptionsJSON() -
getSystemInternalOptionsJSON
@GET @Path("/internal_options.json") @RolesAllowed("authenticated") @Produces("application/json") public List<StatusResources.OptionWrapper> getSystemInternalOptionsJSON() -
getSystemPublicOptions
@GET @Path("/options") @RolesAllowed("authenticated") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getSystemPublicOptions(@Context javax.ws.rs.core.UriInfo uriInfo) -
getSystemInternalOptions
@GET @Path("/internal_options") @RolesAllowed("authenticated") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getSystemInternalOptions(@Context javax.ws.rs.core.UriInfo uriInfo) -
updateSystemOption
-