voldemort.rest.server
Class RestService
java.lang.Object
voldemort.common.service.AbstractService
voldemort.rest.server.RestService
- All Implemented Interfaces:
- VoldemortService
public class RestService
- extends AbstractService
Field Summary |
protected java.util.concurrent.ThreadPoolExecutor |
workerPool
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workerPool
protected java.util.concurrent.ThreadPoolExecutor workerPool
RestService
public RestService(VoldemortConfig config,
int restPort,
StoreRepository storeRepository,
int zoneId,
java.util.List<StoreDefinition> storeDefinitions)
startInner
protected void startInner()
- Specified by:
startInner
in class AbstractService
stopInner
protected void stopInner()
- Closes the Netty Channel and releases all resources
- Specified by:
stopInner
in class AbstractService
getActiveThreadsInWorkerPool
public int getActiveThreadsInWorkerPool()
getAllThreadInWorkerPool
public int getAllThreadInWorkerPool()
getQueuedRequests
public int getQueuedRequests()
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu