Q - The type for job requestsR - The type for job responsespublic abstract class JobHandler<Q,R>
extends java.lang.Object
run(Object). This method should return the result of running the job for the given request.
If the job cannot be run locally because it does not own a resource required for execution it can return
notOwner().| Constructor and Description |
|---|
JobHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected R |
notOwner() |
abstract R |
run(Q request) |
Copyright © 2020. All Rights Reserved.