Package ai.djl.serving.wlm
Class Job<I,O>
- java.lang.Object
-
- ai.djl.serving.wlm.Job<I,O>
-
public class Job<I,O> extends java.lang.ObjectA class represents an inference job.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetBegin()Returns the job begin time.IgetInput()Returns the input data.ModelInfo<I,O>getModel()Returns the model that associated with this job.longgetWaitingTime()Returns the wait time of this job.
-
-
-
Method Detail
-
getModel
public ModelInfo<I,O> getModel()
Returns the model that associated with this job.- Returns:
- the model that associated with this job
-
getInput
public I getInput()
Returns the input data.- Returns:
- the input data
-
getBegin
public long getBegin()
Returns the job begin time.- Returns:
- the job begin time
-
getWaitingTime
public long getWaitingTime()
Returns the wait time of this job.- Returns:
- the wait time of this job in mirco seconds
-
-