Class Job<I,​O>


  • public class Job<I,​O>
    extends java.lang.Object
    A class represents an inference job.
    • Constructor Summary

      Constructors 
      Constructor Description
      Job​(ModelInfo<I,​O> modelInfo, I input)
      Constructs a new Job instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getBegin()
      Returns the job begin time.
      I getInput()
      Returns the input data.
      ModelInfo<I,​O> getModel()
      Returns the model that associated with this job.
      long getWaitingTime()
      Returns the wait time of this job.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Job

        public Job​(ModelInfo<I,​O> modelInfo,
                   I input)
        Constructs a new Job instance.
        Parameters:
        modelInfo - the model to run the job
        input - the input data
    • 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