@ POST @ Path ( "/pause" ) @ Produces ( MediaType . APPLICATION_JSON ) public Response pauseHTTP ( @ Context final HttpServletRequest req ) throws InterruptedException { authorizationCheck ( req , Action . WRITE ) ; return pause ( ) ; }
Signals the ingestion loop to pause .