Examples of enableAutoTune()


Examples of org.voltdb.client.ClientConfig.enableAutoTune()

        // to execute ALL tests, testCase is null going fowrard

        ClientConfig clientConfig = new ClientConfig(config.user,
                config.password, new StatusListener());
        if (config.autotune) {
            clientConfig.enableAutoTune();
            clientConfig.setAutoTuneTargetInternalLatency(config.latencytarget);
        } else {
            clientConfig.setMaxTransactionsPerSecond(config.ratelimit);
        }
        // for adhoc limit number of outstanding tx
View Full Code Here

Examples of org.voltdb.client.ClientConfig.enableAutoTune()

    static Client createClient() {
        ClientConfig clientConfig = new ClientConfig("", "");
        clientConfig.setReconnectOnConnectionLoss(true);
        if (config.autoTune) {
            clientConfig.enableAutoTune();
            clientConfig.setAutoTuneTargetInternalLatency(config.latencyTarget);
        }
        else {
            clientConfig.setMaxTransactionsPerSecond(config.rateLimit);
        }
View Full Code Here

Examples of org.voltdb.client.ClientConfig.enableAutoTune()

        payload = new byte[config.payloadbytes];
        rand.nextBytes(payload);

        ClientConfig clientConfig = new ClientConfig(config.user, config.password, new StatusListener());
        if (config.autotune) {
            clientConfig.enableAutoTune();
            clientConfig.setAutoTuneTargetInternalLatency(config.latencytarget);
        }
        else {
            clientConfig.setMaxTransactionsPerSecond(config.ratelimit);
        }
View Full Code Here

Examples of org.voltdb.client.ClientConfig.enableAutoTune()

    Client createClient(int serverCount) {
        ClientConfig clientConfig = new ClientConfig("", "");
        clientConfig.setReconnectOnConnectionLoss(true);
        if (config.autotune) {
            clientConfig.enableAutoTune();
            clientConfig.setAutoTuneTargetInternalLatency(config.latencytarget);
        }
        else {
            clientConfig.setMaxTransactionsPerSecond(config.ratelimit / serverCount);
        }
View Full Code Here

Examples of org.voltdb.client.ClientConfig.enableAutoTune()

        ClientConfig clientConfig = new ClientConfig("", "", new StatusListener());
        clientConfig.setReconnectOnConnectionLoss(config.recover);

        if (config.autotune) {
            clientConfig.enableAutoTune();
            clientConfig.setAutoTuneTargetInternalLatency(config.latencytarget);
        }
        else {
            clientConfig.setMaxTransactionsPerSecond(config.ratelimit);
        }
View Full Code Here

Examples of org.voltdb.client.ClientConfig.enableAutoTune()

    public AsyncBenchmark(VoterConfig config) {
        this.config = config;

        ClientConfig clientConfig = new ClientConfig(config.username, config.password, new StatusListener());
        if (config.autotune) {
            clientConfig.enableAutoTune();
            clientConfig.setAutoTuneTargetInternalLatency(config.latencytarget);
        }
        else {
            clientConfig.setMaxTransactionsPerSecond(config.ratelimit);
        }
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.