Package org.voltdb.client.exampleutils

Examples of org.voltdb.client.exampleutils.AppHelper.longValue()


                .add("latencytarget", "latency_target", "Execution latency to target to tune transaction rate (in milliseconds).", 10.0d)
                .setArguments(args)
            ;

            // Retrieve parameters
            final long displayInterval = apph.longValue("displayinterval");
            final long duration        = apph.longValue("duration");
            final String servers       = apph.stringValue("servers");
            final int port             = apph.intValue("port");
            final int poolSize         = apph.intValue("poolsize");
            final String procedure     = apph.stringValue("procedure");
View Full Code Here


                .setArguments(args)
            ;

            // Retrieve parameters
            final long displayInterval = apph.longValue("displayinterval");
            final long duration        = apph.longValue("duration");
            final String servers       = apph.stringValue("servers");
            final int port             = apph.intValue("port");
            final int poolSize         = apph.intValue("poolsize");
            final String procedure     = apph.stringValue("procedure");
            final long wait            = apph.intValue("wait");
View Full Code Here

            final String servers       = apph.stringValue("servers");
            final int port             = apph.intValue("port");
            final int poolSize         = apph.intValue("poolsize");
            final String procedure     = apph.stringValue("procedure");
            final long wait            = apph.intValue("wait");
            final long rateLimit       = apph.longValue("ratelimit");
            final boolean autoTune     = apph.booleanValue("autotune");
            final double latencyTarget = apph.doubleValue("latencytarget");
            final String csv           = apph.stringValue("statsfile");

View Full Code Here

        m_batchesToKeep = apph.intValue("batches");
        m_deceasedCleanupFreq = apph.intValue("cleanup-freq");
        m_snapshotFreq = apph.intValue("snapshot-freq");
        m_blockingSnapshots = apph.booleanValue("block-snapshots");
        m_smallStrings = apph.booleanValue("small-strings");
        long duration = apph.longValue("duration");
        String commaSeparatedServers = apph.stringValue("servers");

        apph.validate("average-batch-size", (m_averageBatchSize > 0));
        apph.validate("batches", (m_batchesToKeep >= 0));
        apph.validate("duration", (duration >= 0));
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.