public static void reportSegmentSplitsAndMerges ( String scope , String streamName , long splits , long merges ) { DYNAMIC_LOGGER . updateCounterValue ( globalMetricName ( SEGMENTS_SPLITS ) , splits ) ; DYNAMIC_LOGGER . updateCounterValue ( SEGMENTS_SPLITS , splits , streamTags ( scope , streamName ) ) ; DYNAMIC_LOGGER . updateCounterValue ( globalMetricName ( SEGMENTS_MERGES ) , merges ) ; DYNAMIC_LOGGER . updateCounterValue ( SEGMENTS_MERGES , merges , streamTags ( scope , streamName ) ) ; }
Reports the number of segment splits and merges related to a particular scale operation on a Stream . Both global and Stream - specific counters are updated .