public class Session
Request repeating session.
| Constructor and Description |
|---|
Session()
Deprecated.
Request repeating session.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
every(int sec,
int mls)
Deprecated.
|
Session |
every(int sec)
Deprecated.
|
Session |
timeout(int sec,
int mls)
Deprecated.
|
Session |
timeout(int sec)
Deprecated.
|
Session |
tries(int loopsCount)
Deprecated.
|
void |
until(java.lang.Runnable request)
Deprecated.
|
public Session tries(int loopsCount)
Set maximum loops.
loopsCount - of your requests.public Session timeout(int sec, int mls)
Set your timeout.
sec - to finish your requestmls - to finish your requestpublic Session timeout(int sec)
Set your timeout.
sec - to finish your requestpublic Session every(int sec, int mls)
Set your request delay.
sec - that should wait after request.mls - that should wait after request.public Session every(int sec)
Set your request delay.
sec - that should wait after request.public void until(java.lang.Runnable request)
This function is executing your request until passing or timeout.
request - to execute.