Class ReadLedgerEntryService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.ReadLedgerEntryService
-
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class ReadLedgerEntryService extends java.lang.Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper read ledger entry related http request.The GET method will print all entry content of wanted entry. User should set wanted "ledger_id", and can choose only print out wanted entry by set parameter "start_entry_id", "end_entry_id" and "page".
-
-
Field Summary
Fields Modifier and Type Field Description protected BookKeeperAdmin
bka
protected ServerConfiguration
conf
(package private) static java.lang.Long
ENTRIES_PER_PAE
(package private) static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description ReadLedgerEntryService(ServerConfiguration conf, BookKeeperAdmin bka)
-
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
-
bka
protected BookKeeperAdmin bka
-
ENTRIES_PER_PAE
static final java.lang.Long ENTRIES_PER_PAE
-
-
Constructor Detail
-
ReadLedgerEntryService
public ReadLedgerEntryService(ServerConfiguration conf, BookKeeperAdmin bka)
-
-