String function ( ) { return metricsMap . values ( ) . stream ( ) . map ( Metric :: toString ) . collect ( Collectors . joining ( "srini_string" ) ) + "srini_string" ; }
dumps the metrics content as a string . concode_field_sep Map<Class<? extends Metric>,Metric> metricsMap concode_field_sep T get