|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapping.MappingScheme
mapping.LPAS_DG_MS
public class LPAS_DG_MS
This is the implementation of the LPAS_DG scheduling policy.
Constructor Summary | |
---|---|
LPAS_DG_MS(Mapper mapper)
|
Method Summary | |
---|---|
JobsQueue[] |
getClassesQueues()
|
DeltaStar |
getDeltaStar()
|
LPAS_DG_MS_SOLVING_TICKER |
getTicker()
|
void |
handleJobTimeOut(long jobID)
Resubmit timed out jobs. |
void |
initQueues()
|
void |
printQueues()
|
void |
serverIsDown(int serverID)
The LP allocation should be resolved when server changes its availability. |
void |
serverIsUp(int serverID)
The LP allocation should be resolved when server changes its availability. |
void |
setClassesQueues(JobsQueue[] classesQueues)
|
void |
setDeltaStar(DeltaStar deltaStar)
|
void |
startMappingScheme()
The LP allocation is solved and other data members are initialized plus all the threads are started in this method. |
void |
stopMappingScheme()
The threads are stopped. |
Methods inherited from class mapping.MappingScheme |
---|
getDescription, getMapper, setDescription, setMapper |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LPAS_DG_MS(Mapper mapper)
Method Detail |
---|
public JobsQueue[] getClassesQueues()
public void setClassesQueues(JobsQueue[] classesQueues)
public DeltaStar getDeltaStar()
public void setDeltaStar(DeltaStar deltaStar)
public LPAS_DG_MS_SOLVING_TICKER getTicker()
public void startMappingScheme()
startMappingScheme
in class MappingScheme
MappingScheme.startMappingScheme()
public void stopMappingScheme()
stopMappingScheme
in class MappingScheme
MappingScheme.stopMappingScheme()
public void handleJobTimeOut(long jobID)
handleJobTimeOut
in class MappingScheme
MappingScheme.handleJobTimeOut(long)
public void serverIsDown(int serverID)
serverIsDown
in class MappingScheme
serverID
- the serverID of the server that became unavailableMappingScheme.serverIsDown(int)
public void serverIsUp(int serverID)
serverIsUp
in class MappingScheme
serverID
- the serverID of the server that became unavailableMappingScheme.serverIsUp(int)
public void printQueues()
public void initQueues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |