Class ExpandStorageService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.ExpandStorageService
-
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class ExpandStorageService extends java.lang.Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper expand storage related http request. The PUT method will expand this bookie's storage. User should update the directories info in the conf file with new empty ledger/index directories, before running the command.
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerConfiguration
conf
(package private) static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description ExpandStorageService(ServerConfiguration conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.bookkeeper.http.service.HttpServiceResponse
handle(org.apache.bookkeeper.http.service.HttpServiceRequest request)
-
-
-
Field Detail
-
LOG
static final org.slf4j.Logger LOG
-
conf
protected ServerConfiguration conf
-
-
Constructor Detail
-
ExpandStorageService
public ExpandStorageService(ServerConfiguration conf)
-
-