Examples of join()


Examples of org.snmp4j.util.WorkerTask.join()

    WorkerTask st = server;
    if (st != null) {
      st.terminate();
      st.interrupt();
      try {
        st.join();
      }
      catch (InterruptedException ex) {
        logger.warn(ex);
      }
      server = null;
View Full Code Here

Examples of org.syrup.helpers.Writer.join()

                p.waitFor();

                w1.join();
                w2.join();
                w3.join();

                if (w1.getException() != null)
                {
                    throw w1.getException();
                }
View Full Code Here

Examples of org.terasology.network.NetworkSystem.join()

        Callable<JoinStatus> operation = new Callable<JoinStatus>() {

            @Override
            public JoinStatus call() throws InterruptedException {
                NetworkSystem networkSystem = CoreRegistry.get(NetworkSystem.class);
                JoinStatus joinStatus = networkSystem.join(address, port);
                return joinStatus;
            }
        };

        final NUIManager manager = CoreRegistry.get(NUIManager.class);
View Full Code Here

Examples of org.terasology.network.internal.NetworkSystemImpl.join()

        Thread.sleep(500);

        NetworkSystem client = new NetworkSystemImpl(time);
        netSystems.add(client);
        client.join("localhost", 7777);

        Thread.sleep(500);

        server.shutdown();
        client.shutdown();
View Full Code Here

Examples of org.tuba.integration.IntegrationJob.join()

    if (doIntegration) {
      IntegrationJob job = new IntegrationJob(document);
      job.setUser(true);
      job.schedule();
      try {
        job.join();
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
      if (job.getResult().isOK())
        document.setModified(true);
View Full Code Here

Examples of org.voltdb.ServerThread.join()

        latency /= 1000d * 1000d;

        System.out.printf("Simple bench did %.2f iterations / sec at %.2f ms latency per txn.\n", rate, latency);

        server.shutdown();
        server.join();
    }

    public void testJSON() {
        try {
            //b.testSimple();
View Full Code Here

Examples of org.webmacro.broker.ResourceBroker.join()

                /*
                 * Register the provider with the broker.
                 */
                Log.debug("Registering TurbineTemplateProvider with WebMacro");
                resourceBroker.join(provider);
                // TODO: Find WM template provider instance and remove it.
                // ResourceProvider wmProvier = null;
                // resourceBroker.leave(wmProvider);
            }
            catch (Exception e)
View Full Code Here

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

    executor.execute(new Runnable() {
      public void run() {
        data[0] = true;
      }
    });
    executor.join();
    assertTrue(data[0]);
  }
}
View Full Code Here

Examples of railo.runtime.thread.ChildThread.join()

          throw new ApplicationException("there is no thread running with the name ["+names[i]+"], only the following threads existing ["+ListUtil.arrayToList(mpc.getThreadScopeNames(),", ")+"]");
        ct=ts.getChildThread();
       
        if(ct.isAlive()) {
          try {
          if(_timeout!=-1)ct.join(_timeout);
          else ct.join();
        }
          catch (InterruptedException e) {}
        }
        if(_timeout!=-1){
View Full Code Here

Examples of se.llbit.chunky.renderer.BenchmarkManager.join()

    BenchmarkManager benchmark = new BenchmarkManager(renderContext,
        new ConsoleRenderListener());
    benchmark.start();

    try {
      benchmark.join();
      BenchmarkDialog.recordBenchmarkScore(benchmark.getSceneName(),
          benchmark.getScore());
      System.out.println("Benchmark completed with score " + benchmark.getScore() +
          " (" + benchmark.getSceneName() + ")");
      return 0;
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.