org.jumpmind.symmetric.util
Class RandomTimeSlot

java.lang.Object
  extended by org.jumpmind.symmetric.util.RandomTimeSlot

public class RandomTimeSlot
extends java.lang.Object

Use runtime configuration specific seeding to get a random number for use in time slotting nodes to help stagger load.


Constructor Summary
RandomTimeSlot()
           
RandomTimeSlot(java.lang.String externalId, int maxValue)
           
 
Method Summary
 int getRandomValueSeededByDomainId()
           
 void setParameterService(IParameterService s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomTimeSlot

public RandomTimeSlot()

RandomTimeSlot

public RandomTimeSlot(java.lang.String externalId,
                      int maxValue)
Method Detail

setParameterService

public void setParameterService(IParameterService s)

getRandomValueSeededByDomainId

public int getRandomValueSeededByDomainId()


Copyright © 2007-2008. All Rights Reserved.