private String poolTputRatioData ( double poolTputRatio , double poolRatio , double tputRatio , double smallerPoolTput , double largerPoolTput , int smallerPoolSize , int largerPoolSize ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "\n " ) ; sb . append ( String . format ( " poolTputRatio: %.3f" , Double . valueOf ( poolTputRatio ) ) ) ; sb . append ( String . format ( " poolRatio: %.3f" , Double . valueOf ( poolRatio ) ) ) ; sb . append ( String . format ( " tputRatio: %.3f" , Double . valueOf ( tputRatio ) ) ) ; sb . append ( "\n " ) ; sb . append ( String . format ( " smallerPoolSize: %d" , Integer . valueOf ( smallerPoolSize ) ) ) ; sb . append ( String . format ( " largerPoolSize: %d" , Integer . valueOf ( largerPoolSize ) ) ) ; sb . append ( String . format ( " smallerPoolTput: %.3f" , Double . valueOf ( smallerPoolTput ) ) ) ; sb . append ( String . format ( " largerPoolTput: %.3f" , Double . valueOf ( largerPoolTput ) ) ) ; return sb . toString ( ) ; }
Utility method to format pool tput ratio data