Examples of submit()


Examples of com.splunk.Receiver.submit()

        Index index = getIndex();
        if (index != null) {
            index.submit(args, event.toString());
        } else {
            Receiver receiver = endpoint.getService().getReceiver();
            receiver.submit(args, event.toString());
        }
    }

    @Override
    protected Socket createSocket(Service service) throws IOException {
View Full Code Here

Examples of com.sun.appserv.management.util.misc.RunnableBase.submit()

                RunnableBase rb = new RunnableBase() {
                    protected void doRun() {
                        invokeDASCascading(sc);
                    }
                };
                rb.submit( RunnableBase.HowToRun.RUN_IN_SEPARATE_THREAD );
            }
        } catch (ConfigException ce) {
            ce.printStackTrace();
            _logger.log(Level.WARNING, "cascading.ServerHelper_isDAS_error", ce);
  } catch (Exception ex) {
View Full Code Here

Examples of com.sun.grid.jam.queue.QueueInterface.submit()

                                        user,
                                        "localhost",
                                        new Date()),
                         new Name(appName),
                         new Name(userID) };
      q.submit(new AppParams(appName, null, script, p, true), entry,
               user);
      //Start a service listener waiting for the Job service
      JAMServiceUILauncher launcher = new
        JAMServiceUILauncher(lookupManager, entry,
                             "com.sun.grid.jam.job.JobInterface");
View Full Code Here

Examples of com.sun.star.form.submission.XSubmission.submit()

    public void _Submission() {
        XSubmission stub = new MyXSubmission();
        oObj.setSubmission (stub);
        XSubmission xSubmission = oObj.getSubmission ();
        try {
            xSubmission.submit ();
        } catch (com.sun.star.lang.WrappedTargetException e) {
            log.println("Exception during submit "+e.getMessage ());
        }
        catch (com.sun.star.util.VetoException e) {
            log.println("VetoException during submit "+e.getMessage ());
View Full Code Here

Examples of com.thinkaurelius.faunus.FaunusPipeline.submit()

        final Object result = args[0];
        final Iterator itty;
        if (result instanceof FaunusPipeline) {
            try {
                final FaunusPipeline pipeline = (FaunusPipeline) result;
                pipeline.submit();
                final FileSystem hdfs = FileSystem.get(pipeline.getGraph().getConf());
                final Path output = HDFSTools.getOutputsFinalJob(hdfs, pipeline.getGraph().getOutputLocation().toString());
                itty = new TextFileLineIterator(hdfs, hdfs.globStatus(new Path(output.toString() + "/" + Tokens.SIDEEFFECT + "*")), LINES);
            } catch (Exception e) {
                throw new RuntimeException(e.getMessage(), e);
View Full Code Here

Examples of com.thoughtworks.selenium.DefaultSelenium.submit()

      gmailSeleniumRC.selectFrame("v1");
      gmailSeleniumRC.waitForCondition(
          "selenium.browserbot.getCurrentWindow()"
          + ".document.getElementsByName('q')[0].value='" + orderNumber + "'",
      "1000");
      gmailSeleniumRC.submit("id=s");

      //open result if any
      try {
        Thread.sleep(5000);
      } catch (InterruptedException e) {
View Full Code Here

Examples of com.thoughtworks.selenium.Selenium.submit()

        value1.clear();
        value2.clear();
        value0.type("item F");
        value1.type("item E");
        value2.type("item D");
        selenium.submit("formID");
        waitForPageToLoad();

        key0.assertText("a. ");
        key1.assertText("b. ");
        key2.assertText("c. ");
View Full Code Here

Examples of com.tinkerpop.gremlin.driver.Client.submit()

        System.out.println(mimeType);
        final Cluster cluster = Cluster.build("localhost")
                .serializer(mimeType)
                .create();
        final Client client = cluster.connect();
        assertEquals("2", client.submit("1+1").stream().map(Result::getString).findAny().orElse("invalid"));
    }

    @BeforeClass
    public static void before() {
        // good to call init here ahead of performance tracking
View Full Code Here

Examples of com.tinkerpop.gremlin.driver.simple.NioClient.submit()

            final RequestMessage request = RequestMessage.build(Tokens.OPS_EVAL)
                    .addArg(Tokens.ARGS_GREMLIN, "[1,2,3,4,5,6,7,8,9,0]").create();

            // should be 2 responses when you include the terminator
            final CountDownLatch latch = new CountDownLatch(2);
            client.submit(request, r -> latch.countDown());

            assertTrue(latch.await(500, TimeUnit.MILLISECONDS));
        }
    }
View Full Code Here

Examples of com.tinkerpop.gremlin.driver.simple.WebSocketClient.submit()

    public void shouldReturnInvalidRequestArgsWhenGremlinArgIsNotSupplied() throws Exception {
        try (SimpleClient client = new WebSocketClient()) {
            final RequestMessage request = RequestMessage.build(Tokens.OPS_EVAL).create();
            final CountDownLatch latch = new CountDownLatch(1);
            final AtomicBoolean pass = new AtomicBoolean(false);
            client.submit(request, result -> {
                if (result.getStatus().getCode() != ResponseStatusCode.SUCCESS_TERMINATOR) {
                    pass.set(ResponseStatusCode.REQUEST_ERROR_INVALID_REQUEST_ARGUMENTS == result.getStatus().getCode());
                    latch.countDown();
                }
            });
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.