Examples of run()


Examples of com.alipay.bluewhale.core.work.refresh.RefreshActive.run()

    refreshConn.run();

    // ˢ��zk�е�active״̬
    RefreshActive refreshZkActive = new RefreshActive(active, conf,
        zkCluster, topologyId, zkActive);
    refreshZkActive.run();

    // ���������߳�
    RunnableCallback heartbeat_fn = new WorkerHeartbeatRunable(conf,
        workerId, port, topologyId, new CopyOnWriteArraySet<Integer>(taskids),
        active);
View Full Code Here

Examples of com.alipay.bluewhale.core.work.refresh.RefreshConnections.run()

    TopologyContext systemTopology = systemContext.make(null);

    // ˢ������
    RefreshConnections refreshConn = makeRefreshConnections(taskids);
    refreshConn.run();

    // ˢ��zk�е�active״̬
    RefreshActive refreshZkActive = new RefreshActive(active, conf,
        zkCluster, topologyId, zkActive);
    refreshZkActive.run();
View Full Code Here

Examples of com.alipay.bluewhale.core.work.refresh.WorkerHeartbeatRunable.run()

    // ���������߳�
    RunnableCallback heartbeat_fn = new WorkerHeartbeatRunable(conf,
        workerId, port, topologyId, new CopyOnWriteArraySet<Integer>(taskids),
        active);
    heartbeat_fn.run();

    // ����worker����tuple�Ļ�����
    LinkedBlockingQueue<TransferData> transferQueue = new LinkedBlockingQueue<TransferData>();

   
View Full Code Here

Examples of com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.run()

        IRecordProcessorFactory recordProcessorFactory = new SampleRecordProcessorFactory();
         Worker worker = new Worker(recordProcessorFactory, kinesisClientLibConfiguration);

        int exitCode = 0;
        try {
            worker.run();
        } catch (Throwable t) {
            LOG.error("Caught throwable while processing data.", t);
            exitCode = 1;
        }
        System.exit(exitCode);
View Full Code Here

Examples of com.android.ddmlib.testrunner.RemoteAndroidTestRunner.run()

                    device);

            runner.setRunName(deviceName);
            runner.setMaxtimeToOutputResponse(timeout);

            runner.run(runListener);

            return runListener.getRunResult().hasFailedTests();
        } catch (Exception e) {
            Map<String, String> emptyMetrics = Collections.emptyMap();
View Full Code Here

Examples of com.arjuna.orbportability.RootOA.run()

        // 3. Start the object adapter listening for requests from the client
        try
        {
            // Display information to indicate that the client application may now be ran
            System.out.println("The bank server is now ready...");
            myOA.run();
        }
        catch (SystemException ex)
        {
            // The OA could not be ran
            // Display as much help as possible to the user track down the configuration problem
View Full Code Here

Examples of com.avaje.ebeaninternal.server.transaction.RemoteTransactionEvent.run()

           
            } else {
                txnIncoming.incrementAndGet();
                DataHolder dataHolder = h.getDataHolder();
                RemoteTransactionEvent transEvent = txnSerialiseHelper.read(dataHolder);
                transEvent.run();
            }
           
            if (h.isRegisterEvent() && !h.isRegister()){
                // instance shutting down 
                return true;
View Full Code Here

Examples of com.boundlessgeo.geoserver.bundle.BundleExporter.run()

    public void export(@PathVariable String wsName, HttpServletResponse response) throws Exception {
        Catalog cat = geoServer.getCatalog();

        WorkspaceInfo ws = findWorkspace(wsName, cat);
        BundleExporter exporter = new BundleExporter(cat, new ExportOpts(ws));
        exporter.run();

        Path zip = exporter.zip();

        response.setContentType(APPLICATION_ZIP_VALUE);
        response.setHeader("Content-Disposition", "attachment; filename=\""+zip.getFileName()+"\"");
View Full Code Here

Examples of com.boundlessgeo.geoserver.bundle.BundleImporter.run()

        Path zip = Files.createTempFile(null, null);
        file.write(zip.toFile());

        BundleImporter importer = new BundleImporter(cat, new ImportOpts(ws));
        importer.unzip(zip);
        importer.run();

        response.setStatus(HttpStatus.OK.value());
    }

}
View Full Code Here

Examples of com.brewtab.ircbot.applets.BotApplet.run()

                if (args == null) {
                    channel.write("Mismatched quotes in argument");
                } else {
                    try {
                        applet.run(channel, from, command, args, unparsedArgs);
                    } catch (Exception e) {
                        log.error("applet threw exception", e);
                    }
                }
            } else if (message.startsWith(myNick + ": ")) {
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.