Examples of join()


Examples of org.mctourney.autoreferee.AutoRefTeam.join()

      {
        AutoRefTeam team = match.getPlayerTeam(p);
        if (team != null)
        {
          AutoRefTeam newteam = newmatch.getTeam(team.getDefaultName());
          newteam.join(p, Reason.AUTOMATIC, true);
        }

        // teleport the player to location in new map
        Location loc = p.getLocation();
        loc.setWorld(newmatch.getWorld());
View Full Code Here

Examples of org.mobicents.mscontrol.MsLink.join()

            linkActivity = mediaAcif.getActivityContextInterface(link);
        } catch (UnrecognizedActivityException ex) {
        }

        linkActivity.attach(sbbContext.getSbbLocalObject());
        link.join(userEndpoint, ANNOUNCEMENT_ENDPOINT);
    }

    public void onLinkCreated(MsLinkEvent evt, ActivityContextInterface aci) {
        MsLink link = evt.getSource();
        String announcementEndpoint = link.getEndpoints()[1];
View Full Code Here

Examples of org.modeshape.jcr.api.query.qom.QueryObjectModelFactory.join()

    public void shouldBeAbleToExecuteQueryWithTwoColumns() throws RepositoryException {
        QueryManager queryManager = session.getWorkspace().getQueryManager();
        QueryObjectModelFactory factory = queryManager.getQOMFactory();
        Selector car1Selector = factory.selector("car:Car", "car1");
        Selector car2Selector = factory.selector("car:Car", "car2");
        Join join = factory.join(car1Selector, car2Selector, QueryObjectModelConstants.JCR_JOIN_TYPE_INNER,
                                 factory.equiJoinCondition("car1", "car:maker", "car2", "car:maker"));
        Column[] columns = new Column[] {factory.column("car1", "car:maker", "maker"),
            factory.column("car2", "car:model", "model")};
        Query query = factory.createQuery(join, null, null, columns);
        QueryResult result = query.execute();
View Full Code Here

Examples of org.mortbay.jetty.Server.join()

    server.setStopAtShutdown(true);
    server.setSendServerVersion(true);

    server.start();
    server.join();
  }
}
View Full Code Here

Examples of org.netbeans.server.uihandler.statistics.NetBeansModules.join()

        modules.setRememberDistinctVersions(true);
        List<String> installedPatches = new ArrayList<String>();
        if ((patches != null) && (patches.size() > 0)) {
            NetBeansModules.NBMData data = null;
            for (Iterator<LogRecord> it = records.iterator(); it.hasNext();) {
                data = modules.join(data, modules.process(it.next()));
            }
            if (data != null) {
                for (Patch patche : patches) {
                    ModuleInfo info = data.getEnabled(patche.getModulename());
                    String specVersion = patche.getSpecversion();
View Full Code Here

Examples of org.openrdf.sail.rdbms.evaluation.SqlJoinBuilder.join()

    query.select().column("og", "value");
    SqlJoinBuilder join;
    if (pred != null) {
      join = query.from(uris.getShortTableName(), "pu");
      // TODO what about long predicate URIs?
      join = join.join(tableName, "t");
    }
    else {
      join = query.from(tableName, "t");
    }
    if (pred == null) {
View Full Code Here

Examples of org.openstreetmap.osmosis.core.pipeline.common.TaskRunner.join()

    Assert.assertTrue("The state file for sequence " + sequenceCount + " doesn't exist.", finalStateFile.exists());

    // Shut down the pipelines.
    clientRunner.interrupt();
    serverRunner.interrupt();
    clientRunner.join();
    serverRunner.join();
    source.release();
  }
}
View Full Code Here

Examples of org.qzerver.model.agent.action.providers.executor.http.threads.HttpOutputThread.join()

        if (definition.getTimeoutMs() > 0) {
            HttpTimeoutThread timeoutThread = new HttpTimeoutThread(outputThread, definition.getTimeoutMs());
            timeoutThread.start();
        }

        outputThread.join();

        result.setOutput(outputThread.composeActionOutput());

        return result;
    }
View Full Code Here

Examples of org.qzerver.model.agent.action.providers.executor.localcommand.threads.ProcessExecutionThread.join()

                processExecutionThread, definition.getTimeoutMs());
            processTimeoutThread.start();
        }

        // Wait while process thread exits
        processExecutionThread.join();

        // Release all resources - even the process is not alive (http://kylecartmell.com/?p=9)
        IOUtils.closeQuietly(process.getErrorStream());
        IOUtils.closeQuietly(process.getInputStream());
        IOUtils.closeQuietly(process.getOutputStream());
View Full Code Here

Examples of org.sf.mustru.utils.IndexTools.join()

   itools.start();
   boolean done = false; long scanStart = new Date().getTime();
   while (!done)
  { done = true;
    long start = new Date().getTime();
    try { itools.join(1000); catch (InterruptedException e) { }
    long end = new Date().getTime();
    if ( (end - start) > 750 ) done = false;
    long secs = end - scanStart; secs /= 1000;
    if ( (secs > TIMELIMIT) && itools.isAlive() )
      { itools.setRunning(false); done = true; }
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.