|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.clients.jobagent.slotmanager.Slot
public class Slot
Represents a slot that has been assigned to a job.
| Field Summary | |
|---|---|
private Job.ExecutionTime |
estimated
|
private String |
id
|
| Constructor Summary | |
|---|---|
Slot(Job.ExecutionTime estimated)
Create a new slot and automatically assign an id to it. |
|
Slot(String id,
Job.ExecutionTime estimated)
Create a new slot. |
|
| Method Summary | |
|---|---|
Job.ExecutionTime |
getEstimatedExecutionTime()
Get the estimated execution time for this slot. |
String |
getId()
Get the id of the slot. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final String id
private final Job.ExecutionTime estimated
| Constructor Detail |
|---|
public Slot(Job.ExecutionTime estimated)
estimated - The estimated execution time for the job
public Slot(String id,
Job.ExecutionTime estimated)
id - The id of the slotestimated - The estimated execution time for the job| Method Detail |
|---|
public String getId()
public Job.ExecutionTime getEstimatedExecutionTime()
public String toString()
toString in class Object
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||