public class RandomSleeper extends Object
Constructor and Description |
---|
RandomSleeper(int min,
int max,
int incr,
IgniteLogger log)
Creates sleeper instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getSleepSummary()
Returns summary sleep time.
|
void |
sleep()
Sleeps
|
public RandomSleeper(int min, int max, int incr, IgniteLogger log)
min
- minimum sleep time (in milliseconds)max
- maximum sleep time (in milliseconds)incr
- time range shift increment (in milliseconds)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019