Examples of StatisticsReporter


Examples of org.jboss.resource.statistic.StatisticsReporter

      ManagedConnectionPoolStatistics stats = null;
     
      if (poolingStrategy instanceof StatisticsReporter)
      {
        
         StatisticsReporter reporter = (StatisticsReporter) poolingStrategy;
         stats = (ManagedConnectionPoolStatistics)reporter.listStatistics();
         stats.setCriteria(getCriteria());
         stats.setName(getManagedConnectionFactoryName().toString());
        
      }
     
View Full Code Here

Examples of org.jboss.resource.statistic.StatisticsReporter

/*      */   {
/*  150 */     ManagedConnectionPoolStatistics stats = null;
/*      */
/*  152 */     if ((this.poolingStrategy instanceof StatisticsReporter))
/*      */     {
/*  155 */       StatisticsReporter reporter = (StatisticsReporter)this.poolingStrategy;
/*  156 */       stats = (ManagedConnectionPoolStatistics)reporter.listStatistics();
/*  157 */       stats.setCriteria(getCriteria());
/*  158 */       stats.setName(getManagedConnectionFactoryName().toString());
/*      */     }
/*      */
/*  162 */     return stats;
View Full Code Here

Examples of org.jdesktop.wonderland.modules.appbase.client.utils.stats.StatisticsReporter

    public SlaveClientSocket(BigInteger clientId, Socket s, ClientSocketListener listener) {
        super(clientId, s, listener);
        master = false;

        if (ENABLE_STATS) {
            statReporter = new StatisticsReporter(30, /* secs */
                    new ReadStatistics(this),
                    new ReadStatistics(this),
                    new ReadStatistics(this));
            statReporter.start();
        }
View Full Code Here

Examples of org.jdesktop.wonderland.modules.appbase.client.utils.stats.StatisticsReporter

    public MasterClientSocket(BigInteger masterClientID, Socket s, ClientSocketListener listener) {
        super(masterClientID, s, listener);
        master = true;

        if (ENABLE_STATS) {
            statReporter = new StatisticsReporter(10, /* secs */
                    new WriteStatistics(this),
                    new WriteStatistics(this),
                    new WriteStatistics(this));
            statReporter.start();
        }
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.