Examples of join()


Examples of co.paralleluniverse.strands.Strand.join()

        if (s == null)
            throw new IllegalStateException("Actor strand not set (not started?)");
        if (s instanceof Fiber)
            return ((Fiber<V>) s).get();
        else {
            s.join();
            return actor.getResult();
        }
    }

    @Override
View Full Code Here

Examples of com.alibaba.jstorm.utils.SmartThread.join()

      SmartThread thread = threads.elementAt(i);
      thread.cleanup();
      JStormUtils.sleepMs(10);
      thread.interrupt();
      try {
        thread.join();
      } catch (InterruptedException e) {
        LOG.error(e.getMessage(), e);
      }
    }
    eventManager.shutdown();
View Full Code Here

Examples of com.alipay.bluewhale.core.utils.SmartThread.join()

        int size = threads.size();
        for (int i = 0; i < size; i++) {
            SmartThread thread = threads.elementAt(i);
            thread.interrupt();
            try {
                thread.join();
            } catch (InterruptedException e) {
               LOG.error(e.getMessage(), e);
            }
        }
        eventManager.shutdown();
View Full Code Here

Examples of com.anzsoft.client.XMPP.mandioca.rooms.XmppRoom.join()

  }

  public XmppRoom joinRoom(final String host, final String roomName, final String nick) {
    XmppRoom room = new XmppRoom(this, roomName, host, nick);
    activeChats.add(room);
    room.join(user);
    return room;
  }

  public void logout() {
    XmppChat chat;
View Full Code Here

Examples of com.asakusafw.bulkloader.common.StreamRedirectThread.join()

                    stdout.start();
                    Thread stderr = new StreamRedirectThread(process.getErrorStream(), System.err);
                    stderr.setDaemon(true);
                    stderr.start();
                    stdout.join();
                    stderr.join();
                    int exitCode = process.waitFor();
                    if (exitCode != 0) {
                        throw new IOException(MessageFormat.format(
                                "Cache builder returns unexpected exit code: {0}",
                                exitCode));
View Full Code Here

Examples of com.asakusafw.compiler.flow.processor.operator.MasterJoinFlowFactory.join()

                CoreOperatorFactory c = new CoreOperatorFactory();
                Restructure<Ex2> r1 = c.restructure(pIn1, Ex2.class);
                Restructure<Ex2> r2 = c.restructure(pIn2, Ex2.class);

                MasterJoinFlowFactory f = new MasterJoinFlowFactory();
                Join join = f.join(pMst, c.confluent(r1, r2));
                c.stop(join.missed);
                pOut.add(join.joined);
            }
        };
        assertThat(tester.runFlow(flow), is(true));
View Full Code Here

Examples of com.atlassian.localtunnel.util.SocketJoiner.join()

                                if (null != result && null != result.get("proxy") && (Boolean) result.get("proxy"))
                                {
                                    Socket local = new Socket("0.0.0.0", port);
                                    joiner = new SocketJoiner(proxy, local);
                                    joiner.join();
                                }
                            }
                        }
                        if (null != joiner)
                        {
View Full Code Here

Examples of com.axemblr.provisionr.core.logging.StreamLogger.join()

                    }
                };
                logger.start();

                command.join();
                logger.join();

                assertThat(lines).hasSize(2).contains("line1", "line2");

            } finally {
                session.close();
View Full Code Here

Examples of com.clarkparsia.pellet.rules.rete.BetaNode.join()

    assertTrue( b4.isDirty() );

    b1.join();
    b2.join();
    b3.join();
    b4.join();

    assertFalse( b1.isDirty() );
    assertFalse( b2.isDirty() );
    assertFalse( b3.isDirty() );
    assertFalse( b4.isDirty() );
View Full Code Here

Examples of com.cloudera.flume.core.connector.DirectDriver.join()

    DirectDriver connect = new DirectDriver(src, snk4);
    src.open();
    snk4.open();
    connect.start();
    connect.join(Long.MAX_VALUE);
    src.close();
    snk4.close();
    snk2.getMetrics().toText(new OutputStreamWriter(System.err));
  }
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.