Package org.jboss.test.perf.interfaces

Examples of org.jboss.test.perf.interfaces.Probe


      getLog().debug("+++ testTimings()");
      Object obj = getInitialContext().lookup(PROBE);
      obj = PortableRemoteObject.narrow(obj, ProbeHome.class);
      ProbeHome home = (ProbeHome) obj;
      getLog().debug("Found ProbeHome @ jndiName=Probe");
      Probe bean = home.create();
      getLog().debug("Created Probe");
      warmup(bean);
      noop(bean);
      ping(bean);
      echo(bean);
View Full Code Here


      getLog().debug("+++ testTimingsCMT()");
      Object obj = getInitialContext().lookup(PROBE_CMT);
      obj = PortableRemoteObject.narrow(obj, ProbeHome.class);
      ProbeHome home = (ProbeHome) obj;
      getLog().debug("Found ProbeHome @ jndiName=ProbeCMT");
      Probe bean = home.create();
      getLog().debug("Created ProbeCMT");
      warmup(bean);
      noop(bean);
      ping(bean);
      echo(bean);
View Full Code Here

      results.append("Local ProbeHome.class info:\n");
      Debug.displayClassInfo(ProbeHome.class, results);
      home = (ProbeHome) obj;

      results.append("\nFound ProbeHome");
      Probe bean = home.create();
      results.append("\nCreated Probe");
      warmup(bean, results);
      noop(bean, iterationCount, results);
      ping(bean, iterationCount, results);
      echo(bean, iterationCount, results);
View Full Code Here

         else
            results.append("\nPerfTest ProbHome CodeSource is NULL");
        
         ProbeHome home = (ProbeHome) obj;
         results.append("\n\nFound ProbeHome @ jndiName=Probe");
         Probe bean = home.create();
         results.append("\nCreated Probe");
         warmup(bean, results);
         noop(bean, results);
         ping(bean, results);
         echo(bean, results);
View Full Code Here

      try
      {
         Object obj = new InitialContext().lookup("perf.ProbeCMT");
         ProbeHome home = (ProbeHome) obj;
         results.append("\nFound ProbeHome @ jndiName=ProbeCMT");
         Probe bean = home.create();
         results.append("\nCreated ProbeCMT");
         warmup(bean, results);
         noop(bean, results);
         ping(bean, results);
         echo(bean, results);
View Full Code Here

TOP

Related Classes of org.jboss.test.perf.interfaces.Probe

Copyright © 2018 www.massapicom. 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.