boolean function ( double arg0 ) { if ( DISABLED ) return false ; ThreadThrottler loc0 = ( ThreadThrottler ) THROTTLERS . get ( ) ; if ( loc0 == null ) { loc0 = new ThreadThrottler ( null , arg0 ) ; THROTTLERS . set ( loc0 ) ; return true ; } else { loc0 . setPercentage ( arg0 ) ; return false ; } }
change the maximum percentage of the current throttling operation . if no throttling operation is in effect , one will be started . concode_field_sep ThreadThrottler previous concode_elem_sep double DEFAULT_THROTTLING_PERCENTAGE concode_elem_sep long lastTickTime concode_elem_sep double multiplier concode_elem_sep double percentage concode_elem_sep ThreadLocal THROTTLERS concode_elem_sep boolean DISABLED concode_field_sep void doTick concode_elem_sep void endThrottling concode_elem_sep void setDefaultThrottlingPercentage concode_elem_sep void tick concode_elem_sep double getEffectivePercentage concode_elem_sep void setPercentage concode_elem_sep double getDefaultThrottlingPercentage concode_elem_sep void beginThrottling concode_elem_sep void beginThrottling