public class Job
extends java.lang.Object
Constructor and Description |
---|
Job(ModelInfo modelInfo,
ai.djl.modality.Input input)
Constructs a new
Job instance. |
Modifier and Type | Method and Description |
---|---|
long |
getBegin()
Returns the job begin time.
|
ai.djl.modality.Input |
getInput()
Returns the input data.
|
ModelInfo |
getModel()
Returns the model that associated with this job.
|
long |
getScheduled()
Returns the job scheduled time.
|
void |
setScheduled()
Marks the job has been scheduled.
|
public Job(ModelInfo modelInfo, ai.djl.modality.Input input)
Job
instance.modelInfo
- the model to run the jobinput
- the input datapublic ModelInfo getModel()
public ai.djl.modality.Input getInput()
public long getBegin()
public long getScheduled()
public void setScheduled()