Package org.jredis.cluster.model

Examples of org.jredis.cluster.model.ConsistentHashCluster$NodeMap


   
    @Test
    public void basicNodeMapTest() {
      Log.log("Basic nodemap test of Consistent Hashing cluster model");
     
      ConsistentHashCluster model = (ConsistentHashCluster) newProviderInstance();
      assertNotNull(model, "model should not be null");
     
      ClusterSpec spec = model.getSpec();
      assertNotNull(spec, "spec should not be null");
     
      ConsistentHashCluster.NodeMap nodeMap = model.getNodeMap();
      assertNotNull(nodeMap, "node map should not be null");
     
      Collection<ClusterNodeSpec> nodes = nodeMap.values();
      assertNotNull(nodes, "value set of node map should not be null");
     
View Full Code Here

TOP

Related Classes of org.jredis.cluster.model.ConsistentHashCluster$NodeMap

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.