indicate the start of a throttled operation on the current thread . throttling will continue until the #endthrottling method iscalled , or until the thread dies - whichever comes first . in general , clients of this class should use a finally clause to ensure that they call #endthrottling , unless they specifically created a thread that should be throttled for its entire lifetime . throttling operations can nest ; the effective throttling percentage will be the minimum percentage of all enclosing operations . 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 boolean setThrottling 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
void function ( double arg0 ) { if ( DISABLED ) return ; ThreadThrottler loc0 = ( ThreadThrottler ) THROTTLERS . get ( ) ; ThreadThrottler loc1 = new ThreadThrottler ( loc0 , arg0 ) ; THROTTLERS . set ( loc1 ) ; }