Interface HealthCheckRestService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getHealth​(int timeoutInMs, int maxAgeMs, javax.ws.rs.core.UriInfo uriInfo)  
      javax.ws.rs.core.Response probeHealth​(int timeoutInMs, int maxAgeMs, javax.ws.rs.core.UriInfo uriInfo)  
    • Method Detail

      • probeHealth

        @GET
        @Path("probe")
        @Produces("text/plain")
        javax.ws.rs.core.Response probeHealth​(@QueryParam("t") @DefaultValue("5000")
                                              int timeoutInMs,
                                              @QueryParam("maxAgeMs") @DefaultValue("90000")
                                              int maxAgeMs,
                                              @Context
                                              javax.ws.rs.core.UriInfo uriInfo)
      • getHealth

        @GET
        @Produces("application/json")
        javax.ws.rs.core.Response getHealth​(@QueryParam("t") @DefaultValue("5000")
                                            int timeoutInMs,
                                            @QueryParam("maxAgeMs") @DefaultValue("90000")
                                            int maxAgeMs,
                                            @Context
                                            javax.ws.rs.core.UriInfo uriInfo)