Package com.netflix.jmeter.utils

Examples of com.netflix.jmeter.utils.CClient.describe_ring()


        try
        {
            CClient client = CClient.getClient(endpoints.iterator().next(), port);
            client.set_keyspace(Properties.instance.cassandra.getKeyspace());
            // get the nodes in the ring.
            List<TokenRange> lt = client.describe_ring(getKeyspaceName());
            Set<String> temp = Sets.newHashSet();
            for (TokenRange range : lt)
                temp.addAll(range.endpoints);
            endpoints = temp;
            // TODO: filter out the nodes in the other region.
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.