long function ( long arg0 ) { long loc0 = used . addAndGet ( arg0 ) ; if ( logger . isTraceEnabled ( ) ) { logger . trace ( "srini_string" , arg0 , loc0 ) ; } assert loc0 >= 0 : "srini_string" + loc0 + "srini_string" ; return loc0 ; }
add an exact number of bytes , not checking for tripping the circuit breaker . this bypasses the overheadconstant multiplication . concode_field_sep long memoryBytesLimit concode_elem_sep ESLogger logger concode_elem_sep double overheadConstant concode_elem_sep AtomicLong used concode_elem_sep AtomicLong trippedCount concode_field_sep long getTrippedCount concode_elem_sep String getName concode_elem_sep long getUsed concode_elem_sep long getLimit concode_elem_sep double getOverhead concode_elem_sep double addEstimateBytesAndMaybeBreak concode_elem_sep void circuitBreak