public void setRefreshDelayInSeconds ( int refreshDelayInSeconds ) { ValueOutOfRangeException . checkRange ( Integer . valueOf ( refreshDelayInSeconds ) , MIN_DELAY , Integer . valueOf ( Integer . MAX_VALUE ) , getClass ( ) . getSimpleName ( ) + ".refreshDelayInSeconds" ) ; this . refreshDelayInSeconds = refreshDelayInSeconds ; }
This method sets the refresh - delay in seconds . A reasonable value should be at least 5 seconds but better in the range of minutes .