|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapping.MappingScheme
mapping.NREP_MS
public class NREP_MS
A very minor change to the FCFS_MS class which allows the cancel flags to be used.
Constructor Summary | |
---|---|
NREP_MS(Mapper mapper)
A default constructor. |
Method Summary | |
---|---|
boolean |
failuresOccur()
|
void |
handleJobTimeOut(long jobID)
The job is resubmitted when a timeout happens. |
void |
serverIsDown(int serverID)
NREP policy is not sensitive for availability/unavailability events, thus this method is not implemented. |
void |
serverIsUp(int serverID)
NREP policy is not sensitive. |
void |
startMappingScheme()
In this method the queue is constructed and the NREP_MS_Thread is initialized and started. |
void |
stopMappingScheme()
The NREP_MS_Thread is 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 NREP_MS(Mapper mapper)
mapper
- The mapper objectMethod Detail |
---|
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.handleJobTimeOut(long)
public boolean failuresOccur()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |