Package org.apache.cassandra.thrift.Cassandra

Examples of org.apache.cassandra.thrift.Cassandra.Client.describe_version()


  public void showInfo(ModelMap model) throws Exception {
   
    Client client = clientProvider.getThriftClient();
   
    model.put("clusterName", client.describe_cluster_name());
    model.put("version", client.describe_version());
   
    /*
    NodeProbe probe = clientProvider.getProbe();
    model.put("liveNodes", probe.getLiveNodes());
    model.put("unreachableNodes", probe.getUnreachableNodes());
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.