Class AutoRecoveryStatusService
java.lang.Object
org.apache.bookkeeper.server.http.service.AutoRecoveryStatusService
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class AutoRecoveryStatusService
extends Object
implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handles Autorecovery status related http requests.
The GET method returns the current status of Autorecovery. The output would be like {"enabled" : true}.
The PUT method requires a parameter 'enabled', and enables Autorecovery if its value is 'true', and disables Autorecovery otherwise. The behaviour is idempotent if Autorecovery status is already the same as desired. The output would be the current status after the action.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.bookkeeper.http.service.HttpServiceResponsehandle(org.apache.bookkeeper.http.service.HttpServiceRequest request)
-
Field Details
-
conf
-
-
Constructor Details
-
AutoRecoveryStatusService
-
-
Method Details