Examples of join()


Examples of com.shop.cache.api.server.SCServer.join()

    Runtime.getRuntime().addShutdownHook(hook);

    /**
     * sleep until the server process is done
     */
    server.join();
    System.out.println("Done.");
  }

  private static void  printHelp()
  {
View Full Code Here

Examples of com.sleepycat.je.Database.join()

                assertEquals(msg, OperationStatus.SUCCESS, status);
            }
            for (int j = 0; j < 2; j += 1) {
                boolean withData = (j == 0);
                JoinConfig config = (j == 0) ? null : joinConfigNoSort;
                JoinCursor jc = priDb.join(cursors, config);
                assertSame(priDb, jc.getDatabase());
                for (int k = 0; k < priKeys.length; k += 1) {
                    String msg = prefix + " k=" + k + " pkey=" + priKeys[k];
                    if (withData) {
                        status = jc.getNext(key, data, LockMode.DEFAULT);
View Full Code Here

Examples of com.sleepycat.je.SecondaryDatabase.join()

            secDb.truncate(txn, true);
            fail();
        } catch (UnsupportedOperationException expected) { }

        try {
            secDb.join(new Cursor[0], null);
            fail();
        } catch (UnsupportedOperationException expected) { }

        /* Cursor operations. */

 
View Full Code Here

Examples of com.sleepycat.je.junit.JUnitThread.join()

                waitVal.notify();
            }

            t1.join();
            t2.join();
            t3.join();
           
            /*
             * All three threads ask for fsyncs.
             * 2 do fsyncs -- the initial leader, and the leader of the
             * waiting group of 2.
View Full Code Here

Examples of com.sun.enterprise.ee.cms.core.GroupManagementService.join()

                        gms.addActionFactory(
                                new FailureSuspectedActionFactoryImpl(this));

                        final String threadName ="GroupManagementService_"+
                                                dasInstanceName+'_'+clusterName;
                        gms.join();
                        initHealthMap(
                                    gms.getGroupHandle()
                                        .getCurrentCoreMembersWithStartTimes(),
                                      clusterName, cluster );
                    }
View Full Code Here

Examples of com.sun.sgs.app.Channel.join()

        // We were passed a reference to the first channel.
        channel1.get().join(session);
       
        // We look up the second channel by name.
        Channel channel2 = channelMgr.getChannel(HelloChannels.CHANNEL_2_NAME);
        channel2.join(session);
    }

    /**
     * Returns the session for this listener.
     *
 
View Full Code Here

Examples of com.sun.sgs.service.Transaction.join()

            if (logger.isLoggable(Level.FINER)) {
                logger.log(Level.FINER, "join txn:{0}", txn);
            }
            context = contextFactory.createContext(txn);
            currentContext.set(context);
            txn.join(contextFactory.getParticipant());
        } else if (!txn.equals(context.getTransaction())) {
            clearContext();
            throw new IllegalStateException(
                "Wrong transaction: Expected " + context.getTransaction() +
                ", found " + txn);
View Full Code Here

Examples of de.anomic.search.MetadataRepository.Export.join()

        final MetadataRepository mr = new MetadataRepository(new File(metadataPath), "text.urlmd", false, false);
        final HandleSet hs = (diffFile == null) ? null : new HandleSet(URIMetadataRow.rowdef.primaryKeyLength, URIMetadataRow.rowdef.objectOrder, new File(diffFile));
        System.out.println("URL EXPORT loaded dump, starting export");
        final Export e = mr.export(new File(export), ".*", hs, format, false);
        try {
            e.join();
        } catch (final InterruptedException e1) {
            Log.logException(e1);
        }
        System.out.println("URL EXPORT finished export, wrote " + ((hs == null) ? mr.size() : hs.size()) + " entries");
    }
View Full Code Here

Examples of edu.cmu.cs.crystal.analysis.constant.BooleanConstantLatticeOps.join()

      BooleanConstantLatticeOps boolOps = new BooleanConstantLatticeOps();
     
      for (Variable var : aliasLattice.getVariables()) {
        if (aliasLattice.getAliases(var).contains(label)) {
          BooleanConstantLE varConstant = boolLattice.get(var);
          labelConstant = boolOps.join(labelConstant, varConstant);
        }
      }
      if (labelConstant == BooleanConstantLE.TRUE)
        value = ThreeValue.TRUE;
      else if (labelConstant == BooleanConstantLE.FALSE)
View Full Code Here

Examples of edu.mit.csail.sdg.alloy4compiler.ast.ExprHasName.join()

    /* These corresponds to the helper predicates/functions provided in util/*.als */

    static Expr acyclic(Expr r) throws Err {
        Decl d = r.join(Sig.UNIV).oneOf("x");     // x is a variable over the domain of r
        ExprHasName x = d.get();
        return x.in(x.join(r.closure())).not().forAll(d); // (x !in x.^r) for all x
    }

    /* Here are definitions common to all instances. */

    PrimSig obj=null, dir=null, file=null, root=null;
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.