Class RecoveryBookieService
java.lang.Object
org.apache.bookkeeper.server.http.service.RecoveryBookieService
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class RecoveryBookieService
extends Object
implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper recovery related http request.
The PUT method will recovery bookie with provided parameter. The parameter of input body should be like this format: { "bookie_src": [ "bookie_src1", "bookie_src2"... ], "delete_cookie": <bool_value> }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BookKeeperAdminprotected ServerConfigurationprotected ExecutorService(package private) static final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionRecoveryBookieService(ServerConfiguration conf, BookKeeperAdmin bka, ExecutorService executor) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.bookkeeper.http.service.HttpServiceResponsehandle(org.apache.bookkeeper.http.service.HttpServiceRequest request)
-
Field Details
-
LOG
static final org.slf4j.Logger LOG -
conf
-
bka
-
executor
-
-
Constructor Details
-
RecoveryBookieService
public RecoveryBookieService(ServerConfiguration conf, BookKeeperAdmin bka, ExecutorService executor)
-
-
Method Details