Package org.apache.zookeeper.server
Class WorkerService.WorkRequest
- java.lang.Object
- 
- org.apache.zookeeper.server.WorkerService.WorkRequest
 
- 
- Enclosing class:
- WorkerService
 
 public abstract static class WorkerService.WorkRequest extends Object Callers should implement a class extending WorkRequest in order to schedule work with the service.
- 
- 
Constructor SummaryConstructors Constructor Description WorkRequest()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcleanup()(Optional) If implemented, is called if the service is stopped or unable to schedule the request.abstract voiddoWork()Must be implemented.
 
-