|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapping.MappingScheme
mapping.MET_MS
public class MET_MS
Constructor Summary | |
---|---|
MET_MS(Mapper mapper)
|
Method Summary | |
---|---|
Server |
getMin(Job job)
|
void |
handleJobTimeOut(long jobID)
The implementation of this method determines what should happen a job times out. |
void |
mapJob(Job job)
The implementation of this method determines the mapping scheme. |
void |
serverIsDown(int serverID)
The implementation of this method determines what should happen a server goes down. |
void |
serverIsUp(int serverID)
The implementation of this method determines what should happen a server becomes up. |
void |
startMappingScheme()
This method is invoked after the servers and the job classes are defined. |
void |
stopMappingScheme()
In this method, the program- mer should define operations that stop the execution of the system processes (e.g mapping and generation). |
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 MET_MS(Mapper mapper)
Method Detail |
---|
public void startMappingScheme()
MappingScheme
startMappingScheme
in class MappingScheme
public Server getMin(Job job)
public void mapJob(Job job)
MappingScheme
job
- the job object to be mapped.public void stopMappingScheme()
MappingScheme
stopMappingScheme
in class MappingScheme
public void handleJobTimeOut(long jobID)
MappingScheme
handleJobTimeOut
in class MappingScheme
public void serverIsDown(int serverID)
MappingScheme
serverIsDown
in class MappingScheme
serverID
- the serverID of the server that became unavailablepublic void serverIsUp(int serverID)
MappingScheme
serverIsUp
in class MappingScheme
serverID
- the serverID of the server that became unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |