Class Slot


  • public class Slot
    extends Object
    Represents a slot that has been assigned to a job.
    Since:
    2.16
    Author:
    Nicklas
    Last modified
    $Date: 2010-10-19 13:02:17 +0200 (ti, 19 okt 2010) $
    • Constructor Detail

      • Slot

        public Slot​(Job.ExecutionTime estimated)
        Create a new slot and automatically assign an id to it.
        Parameters:
        estimated - The estimated execution time for the job
      • Slot

        public Slot​(String id,
                    Job.ExecutionTime estimated)
        Create a new slot.
        Parameters:
        id - The id of the slot
        estimated - The estimated execution time for the job
    • Method Detail

      • getId

        public String getId()
        Get the id of the slot.
      • getEstimatedExecutionTime

        public Job.ExecutionTime getEstimatedExecutionTime()
        Get the estimated execution time for this slot.