Examples of execute()


Examples of com.atlassian.clover.ant.tasks.CloverPassTask.execute()

        setTestSourceRoots(cloverPassTask);

        try
        {
            cloverPassTask.execute();
        }
        catch ( BuildException e )
        {
            getLog().error( antProject.getProperty( "clovercheckproperty" ) );
View Full Code Here

Examples of com.atlassian.sal.api.net.Request.execute()

        ApplicationLink appLink = getApplicationLink(resp, appId, appType);
        try
        {
            final ApplicationLinkRequestFactory requestFactory = appLink.createAuthenticatedRequestFactory();
            Request request = prepareRequest(req, methodType, finalPath, requestFactory);
            request.execute(new ProxyResponseHandler(resp));
        }
        catch(ResponseException re)
        {
            final String finalUrl = appLink.getRpcUrl() + finalPath;
            return handleProxyingException(finalUrl, req, resp, re);
View Full Code Here

Examples of com.atlauncher.workers.InstanceInstaller.execute()

                    }
                });
                if (isReinstall) {
                    instanceInstaller.setInstance(instance);
                }
                instanceInstaller.execute();
                dispose();
                dialog.setVisible(true);

            }
        });
View Full Code Here

Examples of com.avaje.ebean.EbeanServer.execute()

        inMethodTransaction = server.currentTransaction();
       
        Transaction t = server.createTransaction();
        SqlUpdate u = server.createSqlUpdate("update e_basicver set last_update = last_update+1 where id = ?");
        u.setParameter(1, v.getId());
        int count = server.execute(u, t);
        Assert.assertEquals(1, count);
       
        t.commit();
       
        v.setName("some change");
View Full Code Here

Examples of com.avaje.ebean.SqlUpdate.execute()

        .createSqlUpdate("update o_country set name = :name where code = :code");
    sqlUpdate.setParameter("name", "Aotearoa");
    sqlUpdate.setParameter("code", "NZ");

    // this should just clear the entire country cache
    int rows = sqlUpdate.execute();
    Assert.assertEquals(1, rows);
    Assert.assertEquals(0, countryCache.size());

    // set it back...
    sqlUpdate.setParameter("name", "New Zealand");
View Full Code Here

Examples of com.avaje.ebeaninternal.server.core.DefaultBackgroundExecutor.execute()

    DefaultBackgroundExecutor bg = new DefaultBackgroundExecutor(1, 2, 180, 30, "testDs");

    try {
      for (int i = 0; i < 12; i++) {
        // Thread.sleep(10*i);
        bg.execute(new ConnRunner(pool, 4000, i));
      }

      System.out.println("main thread sleep ... " + pool.getStatus(false));

      Thread.sleep(10000);
View Full Code Here

Examples of com.azaptree.services.command.http.WebRequestCommand.execute()

      handleUnmarshallingRequestMessageError(baseRequest, response, e);
      return;
    }

    try {
      command.execute(commandContext);
    } catch (final Exception e) {
      log.error(String.format("%s : Failed to execute command : %s", target, commandKey), e);
      handleCommandExecutionError(baseRequest, response, e);
    }
  }
View Full Code Here

Examples of com.basho.riak.client.api.RiakClient.execute()

       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
       
        IntIndexQuery iiq =
            new IntIndexQuery.Builder(ns, "test_index", 123456L).withKeyAndIndex(true).build();
        IntIndexQuery.Response iResp = client.execute(iiq);
       
        assertTrue(iResp.hasEntries());
        assertEquals(2, iResp.getEntries().size());
       
        boolean found = false;
View Full Code Here

Examples of com.basho.riak.client.core.RiakCluster.execute()

       
        RiakCluster cluster = new RiakCluster.Builder(builder.build()).build();
        cluster.start();
       
        PingOperation ping = new PingOperation();
        cluster.execute(ping);
        ping.await();
       
        assertFalse(ping.isSuccess());
        assertNotNull(ping.cause());
       
View Full Code Here

Examples of com.basho.riak.client.operations.DeleteObject.execute()

        if (deleteMeta.hasPw()) {
            delete.pw(deleteMeta.getPw());
        }
        delete.fetchBeforeDelete(deleteMeta.hasVclock());
        delete.execute();
    }

    /**
     * Factory method to create a new {@link DomainBucketBuilder} for the given {@link Bucket} and Class.
     * @param b
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.