Examples of emitNotifications()


Examples of com.sun.enterprise.management.support.TestDummyMBean.emitNotifications()

      final int   COUNT   = 1024 * 1024;
     
      for( int iter = 0; iter < ITER; ++iter )
      {
          final long elapsed  =
              test.emitNotifications( "NotificationPerformanceTest.test", COUNT );
         
          final float rate    = (elapsed == 0) ? (float)0.0 : (1000 * ((float)COUNT / (float)elapsed));
          final String rateString = (elapsed == 0) ? "N/A" : "" + (int)rate;
         
          System.out.println( "Millis to emit " + COUNT + " Notifications: " + elapsed +
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.