Package org.jumpmind.util
Class RandomTimeSlot
java.lang.Object
org.jumpmind.util.RandomTimeSlot
Use runtime configuration specific seeding to get a random number for use in time slotting nodes to help stagger load.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
maxValue
protected int maxValue -
random
-
-
Constructor Details
-
RandomTimeSlot
public RandomTimeSlot() -
RandomTimeSlot
-
-
Method Details
-
getRandomValueSeededByExternalId
public int getRandomValueSeededByExternalId()
-