public final class WorkerJob
extends java.lang.Object
Job containing metadata from the WorkLoadManager.| Constructor and Description |
|---|
WorkerJob(Job job,
java.util.concurrent.CompletableFuture<ai.djl.modality.Output> future)
Constructs a new
WorkerJob. |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<ai.djl.modality.Output> |
getFuture()
Returns the future for the job.
|
Job |
getJob()
Returns the
Job. |