private void formatResultString ( StringBuilder resultString , String metricName , long epoch , Object value ) { resultString . append ( sanitizeString ( metricName ) ) ; resultString . append ( " " ) ; resultString . append ( Long . toString ( epoch ) ) ; resultString . append ( " " ) ; resultString . append ( sanitizeString ( value . toString ( ) ) ) ; }
Format the result string given the class name and attribute name of the source value the timestamp and the value .