Package org.jboss.resource.statistic.pool

Examples of org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter.formatSubPoolStatistics()


      JBossDefaultSubPoolStatisticFormatter defaultFormatter = new JBossDefaultSubPoolStatisticFormatter();
     
      Object rawStatistics = listRawStatistics();
      ManagedConnectionPoolStatistics stats = (ManagedConnectionPoolStatistics)rawStatistics;
     
      String rawFormat = (String)defaultFormatter.formatSubPoolStatistics(stats);
     
      assertEquals(formattedStats, rawFormat);
     
   }
 
View Full Code Here


      JBossDefaultSubPoolStatisticFormatter defaultFormatter = new JBossDefaultSubPoolStatisticFormatter();
     
      Object rawStatistics = listRawStatistics();
      ManagedConnectionPoolStatistics stats = (ManagedConnectionPoolStatistics)rawStatistics;
     
      String rawFormat = (String)defaultFormatter.formatSubPoolStatistics(stats);
     
      assertEquals(formattedStats, rawFormat);
     
   }
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.