java.lang.Object
net.sf.basedb.clients.jobagent.slotmanager.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) $
  • Field Details

  • Constructor Details

    • 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 Details

    • getId

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

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

      public String toString()
      Overrides:
      toString in class Object