Class DecommissionService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.DecommissionService
-
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class DecommissionService extends java.lang.Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper Decommission related http request. The PUT method will send decommission bookie command running at backend.
-
-
Field Summary
Fields Modifier and Type Field Description protected BookKeeperAdmin
bka
protected ServerConfiguration
conf
protected java.util.concurrent.ExecutorService
executor
(package private) static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description DecommissionService(ServerConfiguration conf, BookKeeperAdmin bka, java.util.concurrent.ExecutorService executor)
-
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
-
executor
protected java.util.concurrent.ExecutorService executor
-
-
Constructor Detail
-
DecommissionService
public DecommissionService(ServerConfiguration conf, BookKeeperAdmin bka, java.util.concurrent.ExecutorService executor)
-
-