|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecruitOrder
This class is used to characterize the recruitment procedure. It describes how a specific request (e.g. status request) should be fulfilled.
Method Summary | |
---|---|
int |
getRecruitcount()
This method is used to get the the amount of recruits a sender should recruit if the receiver was not found. |
int |
getRecruitdepth()
This method is used to get the the depth of recruitment, which determines whether the corresponding sender should recruit recruits or not. |
int |
getSendtrials()
This method is used to get the amount of trials the sender tries to submit a request or respectively a result. |
long |
getWaittime()
This method returns the time in milliseconds a sender waits between two sending trials. |
void |
setRecruitcount(int recruitCount)
This method is used to set the amount of recruits a sender should recruit if the receiver was not found. |
void |
setRecruitdepth(int recruitDepth)
This method is used to set the maximum depth of the recruitment, which determines if recruits should recruit themselves and until which depth this procedure should be done if the receiver was not found. |
void |
setSendtrials(int sendTrials)
This method is used to set the amount of trials a sender tries to find the receiver. |
void |
setWaittime(long waitTime)
This method is used to set the time a sender waits between two sending trials. |
Method Detail |
---|
int getSendtrials()
long getWaittime()
int getRecruitcount()
int getRecruitdepth()
void setSendtrials(int sendTrials)
sendTrials
- the amount of trials.void setWaittime(long waitTime)
sendTrials
- the wait time in milliseconds.void setRecruitcount(int recruitCount)
recruitCount
- the amount of recruits.void setRecruitdepth(int recruitDepth)
recruitDepth
- the depth of the recruitment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |