Class ListLedgerService

  • All Implemented Interfaces:
    org.apache.bookkeeper.http.service.HttpEndpointService

    public class ListLedgerService
    extends java.lang.Object
    implements org.apache.bookkeeper.http.service.HttpEndpointService
    HttpEndpointService that handle Bookkeeper list ledger related http request.

    The GET method will list all ledger_ids in this bookkeeper cluster. User can choose print metadata of each ledger or not by set parameter "print_metadata"

    • Method Detail

      • handle

        public org.apache.bookkeeper.http.service.HttpServiceResponse handle​(org.apache.bookkeeper.http.service.HttpServiceRequest request)
                                                                      throws java.lang.Exception
        Specified by:
        handle in interface org.apache.bookkeeper.http.service.HttpEndpointService
        Throws:
        java.lang.Exception