Package com.basho.riak.client.query

Examples of com.basho.riak.client.query.NodeStats


   
    /* (non-Javadoc)
     * @see com.basho.riak.client.raw.RawClient#fetchIndex(com.basho.riak.client.raw.RawClient#stats()
     */
    public NodeStats stats() throws IOException {
        NodeStats nodeStats = null;
        for(RawClient rc : cluster) {
            if (nodeStats == null)
                nodeStats = rc.stats();
            else
                nodeStats.add(rc.stats());
        }
        return nodeStats;
    }
View Full Code Here


   
    /* (non-Javadoc)
     * @see com.basho.riak.client.raw.RawClient#fetchIndex(com.basho.riak.client.raw.RawClient#stats()
     */
    public NodeStats stats() throws IOException {
        NodeStats nodeStats = null;
        for(RawClient rc : cluster) {
            if (nodeStats == null)
                nodeStats = rc.stats();
            else
                nodeStats.add(rc.stats());
        }
        return nodeStats;
    }
View Full Code Here

   
    /* (non-Javadoc)
     * @see com.basho.riak.client.raw.RawClient#fetchIndex(com.basho.riak.client.raw.RawClient#stats()
     */
    public NodeStats stats() throws IOException {
        NodeStats nodeStats = null;
        for(RawClient rc : cluster) {
            if (nodeStats == null)
                nodeStats = rc.stats();
            else
                nodeStats.add(rc.stats());
        }
        return nodeStats;
    }
View Full Code Here

TOP

Related Classes of com.basho.riak.client.query.NodeStats

Copyright © 2018 www.massapicom. 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.