public class Job extends Object
Constructor and Description |
---|
Job(long id,
long activationDate,
long wcet,
long wcee,
long absoluteDi)
A job should only be obtain by method Task.nextJob()
|
Modifier and Type | Method and Description |
---|---|
Job |
cloneJob() |
void |
consumeEnergy(long energy) |
void |
consumeProcTime(long duration) |
long |
getAbsoluteDeadline() |
long |
getActivationDate() |
long |
getJobId() |
long |
getRomainingEnergyCost() |
long |
getRomainingTimeCost() |
public Job(long id, long activationDate, long wcet, long wcee, long absoluteDi)
public long getJobId()
public long getRomainingTimeCost()
public long getRomainingEnergyCost()
public void consumeProcTime(long duration)
public void consumeEnergy(long energy)
public long getActivationDate()
public long getAbsoluteDeadline()
public Job cloneJob()
Copyright © 2013. All Rights Reserved.