Class ListDiskFilesService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.ListDiskFilesService
-
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class ListDiskFilesService extends java.lang.Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper list disk files related http request.The GET method will list all bookie files of type journal|entrylog|index in this bookie. The output would be like this: { "journal files" : "filename1 \t ...", "entrylog files" : "filename1 \t ...", "index files" : "filename1 \t ..." }
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerConfiguration
conf
(package private) static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description ListDiskFilesService(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
-
ListDiskFilesService
public ListDiskFilesService(ServerConfiguration conf)
-
-