Class ListLedgerService

java.lang.Object
org.apache.bookkeeper.server.http.service.ListLedgerService
All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService

public class ListLedgerService extends 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"

  • Field Details

  • Constructor Details

  • Method Details

    • handle

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