Class Slot
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 Summary
Fields Modifier and Type Field Description private Job.ExecutionTime
estimated
private String
id
-
Constructor Summary
Constructors Constructor Description Slot(String id, Job.ExecutionTime estimated)
Create a new slot.Slot(Job.ExecutionTime estimated)
Create a new slot and automatically assign an id to it. -
Method Summary
Modifier and Type Method Description Job.ExecutionTime
getEstimatedExecutionTime()
Get the estimated execution time for this slot.String
getId()
Get the id of the slot.String
toString()
-
Field Details
-
id
-
estimated
-
-
Constructor Details
-
Slot
Create a new slot and automatically assign an id to it.- Parameters:
estimated
- The estimated execution time for the job
-
Slot
Create a new slot.- Parameters:
id
- The id of the slotestimated
- The estimated execution time for the job
-
-
Method Details