decrements the count of in-flight transactions to the resource being monitored . if this operation results in the counter falling below 0 - an exception is raised . concode_field_sep AtomicInteger counter concode_elem_sep String mResourceName concode_elem_sep ResourceCallback resourceCallback concode_field_sep String getName concode_elem_sep void increment concode_elem_sep boolean isIdleNow concode_elem_sep void registerIdleTransitionCallback
void function ( ) { int loc0 = counter . decrementAndGet ( ) ; if ( loc0 == 0 && null != resourceCallback ) { resourceCallback . onTransitionToIdle ( ) ; } if ( loc0 < 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } }