public abstract static class WorkerService.WorkRequest extends Object
| Constructor and Description | 
|---|
WorkRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cleanup()
(Optional) If implemented, is called if the service is stopped
 or unable to schedule the request. 
 | 
abstract void | 
doWork()
Must be implemented. 
 | 
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.