Package org.wicketstuff.progressbar.spring

Examples of org.wicketstuff.progressbar.spring.AsynchronousExecutor.execute()


  @Test
  public void testThreadPoolExecutor() throws InterruptedException {
    final Boolean[] data = new Boolean[]{false};
    AsynchronousExecutor executor = new AsynchronousExecutor();
    executor.execute(new Runnable() {
      public void run() {
        data[0] = true;
      }
    });
    executor.join();
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.