Class TriggerAuditService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.TriggerAuditService
-
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class TriggerAuditService extends java.lang.Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper trigger audit related http request. The PUT method will force trigger the audit by resetting the lostBookieRecoveryDelay.
-
-
Field Summary
Fields Modifier and Type Field Description protected BookKeeperAdmin
bka
protected ServerConfiguration
conf
(package private) static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description TriggerAuditService(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
-
-
Constructor Detail
-
TriggerAuditService
public TriggerAuditService(ServerConfiguration conf, BookKeeperAdmin bka)
-
-