Class TriggerLocationCompactService
java.lang.Object
org.apache.bookkeeper.server.http.service.TriggerLocationCompactService
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class TriggerLocationCompactService
extends Object
implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle force trigger entry location compact requests.
The PUT method will trigger entry location compact on current bookie.
The GET method will get the entry location compact running or not. Output would be like: { "/data1/bookkeeper/ledgers/current/locations" : "false", "/data2/bookkeeper/ledgers/current/locations" : "true", }
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.bookkeeper.http.service.HttpServiceResponsehandle(org.apache.bookkeeper.http.service.HttpServiceRequest request)
-
Field Details
-
LOG
static final org.slf4j.Logger LOG
-
-
Constructor Details
-
TriggerLocationCompactService
-
-
Method Details