Package org.jboss.messaging.util

Examples of org.jboss.messaging.util.OrderedExecutorFactory


      super(name);
   }

   public void testExecutionOrder()
   {
      OrderedExecutorFactory factory = new OrderedExecutorFactory(Executors.newCachedThreadPool(new JBMThreadFactory("test-thread-factory")));
      CompatibleExecutor executor = factory.getExecutor("test executor");

      final int numTasks = 200000;

      CounterRunnable[] tasks = new CounterRunnable[numTasks];
View Full Code Here

TOP

Related Classes of org.jboss.messaging.util.OrderedExecutorFactory

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.