Examples of updateApplicationCatalog()


Examples of org.voltdb.client.Client.updateApplicationCatalog()

        assertTrue(results.length == 1);
        checkDeploymentPropertyValue(client, key, "5000");

        newCatalogURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-timeout-600.jar");
        deploymentURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-timeout-600.xml");
        results = client.updateApplicationCatalog(new File(newCatalogURL), new File(deploymentURL)).getResults();
        assertTrue(results.length == 1);
        checkDeploymentPropertyValue(client, key, "600");

        newCatalogURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-base.jar");
        deploymentURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-base.xml");
View Full Code Here

Examples of org.voltdb.client.Client.updateApplicationCatalog()

        assertTrue(results.length == 1);
        checkDeploymentPropertyValue(client, key, "600");

        newCatalogURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-base.jar");
        deploymentURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-base.xml");
        results = client.updateApplicationCatalog(new File(newCatalogURL), new File(deploymentURL)).getResults();
        assertTrue(results.length == 1);
        checkDeploymentPropertyValue(client, key, "0"); // check default value

        // check the catalog update with elastic duration and throughput
        String duration = "elasticduration", throughput = "elasticthroughput";
View Full Code Here

Examples of org.voltdb.client.Client.updateApplicationCatalog()

        checkDeploymentPropertyValue(client, duration, "50"); // check default value
        checkDeploymentPropertyValue(client, throughput, "2"); // check default value

        newCatalogURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-elastic-100-5.jar");
        deploymentURL = Configuration.getPathToCatalogForTest("catalogupdate-cluster-elastic-100-5.xml");
        results = client.updateApplicationCatalog(new File(newCatalogURL), new File(deploymentURL)).getResults();
        assertTrue(results.length == 1);
        checkDeploymentPropertyValue(client, duration, "100");
        checkDeploymentPropertyValue(client, throughput, "5");
    }
View Full Code Here

Examples of org.voltdb.client.ClientImpl.updateApplicationCatalog()

    public ClientResponse updateApplicationCatalog(File catalogPath, File deploymentPath)
            throws IOException, NoConnectionsException, ProcCallException
    {
        ClientImpl currentClient = this.getClient();
        try {
            return currentClient.updateApplicationCatalog(catalogPath, deploymentPath);
        }
        catch (NoConnectionsException e) {
            this.dropClient(currentClient);
            throw e;
        }
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.