Examples of GroupManagerImpl


Examples of org.infinispan.distribution.group.GroupManagerImpl

   private static ConsistentHash constructConsistentHashInstance(Configuration c) {
      Class<? extends ConsistentHash> chClass = Util.loadClass(c.getConsistentHashClass(), c.getClassLoader());
      Hash h = (Hash) Util.getInstance(c.getHashFunctionClass(), c.getClassLoader());
      HashSeed hs = c.getHashSeed() != null ? c.getHashSeed() :
            (HashSeed) Util.getInstance(c.getHashSeedClass(), c.getClassLoader());
      return constructConsistentHashInstance(chClass, h, hs, c.getNumVirtualNodes(), new GroupManagerImpl(c.getGroupers()));
   }
View Full Code Here

Examples of org.infinispan.distribution.group.GroupManagerImpl

         wch.setNumVirtualNodes(c.getNumVirtualNodes());
      }
      if (ch instanceof AbstractConsistentHash) {
          AbstractConsistentHash ach = (AbstractConsistentHash) ch;
          if (c.isGroupsEnabled())
              ach.setGroupManager(new GroupManagerImpl(c.getGroupers()));
      }
      return ch;
   }
View Full Code Here

Examples of xregistry.group.GroupManagerImpl

            storage = new JdbcStorage(dbUrl, MYSQL_DRIVER);
            //intialize databse
            initDatabaseTables();

            //start Xregistry support modules
            groupManager = new GroupManagerImpl(this);
            authorizer = new AuthorizerImpl(this, groupManager);
           
            startSheduledTasks();
        }
    }
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.