void function ( String arg0 , RingBufferCountArray arg1 , int arg2 ) { Short loc0 = tableMap . get ( arg0 ) ; if ( loc0 == null ) { loc0 = nextCountIdx ++ ; tableMap . put ( arg0 , loc0 ) ; } arg1 . recordUsage ( loc0 , arg2 ) ; logUsage ( arg2 ) ; }
synchronized - this is the only method that should manipulate the ringbuffercountarray or log usage statistics . concode_field_sep Map<String,Short> tableMap concode_elem_sep RingBufferCountArray countPutArray concode_elem_sep RingBufferCountArray countDeleteArray concode_elem_sep int readCount concode_elem_sep RingBufferCountArray countQueryArray concode_elem_sep int ARRAY_INCREMENT concode_elem_sep RingBufferCountArray countQueryResultArray concode_elem_sep long ACCESS_METRIC_DUMP_INTERVAL concode_elem_sep short nextCountIdx concode_elem_sep long lastLogging concode_elem_sep int[] countArray concode_elem_sep RingBufferCountArray countGetArray concode_elem_sep Log logger concode_field_sep void resizeArray concode_elem_sep void recordQueryUsage concode_elem_sep void recordQueryUsage concode_elem_sep void logUsage concode_elem_sep void logUsage concode_elem_sep void recordDeleteUsage concode_elem_sep void recordDeleteUsage concode_elem_sep void clear concode_elem_sep void recordUsage concode_elem_sep void recordUsage concode_elem_sep void recordUsage concode_elem_sep void recordUsage concode_elem_sep void recordUsage concode_elem_sep void recordGetUsage concode_elem_sep void recordGetUsage concode_elem_sep void recordPutUsage concode_elem_sep void recordPutUsage concode_elem_sep Integer getUsage