Package org.jboss.ha.framework.server.lock

Examples of org.jboss.ha.framework.server.lock.SharedLocalYieldingClusterLockManager


         catch (Exception e)
         {
            throw new IllegalStateException("Unexpected exception while starting group communication service for " + channel.getClusterName());
         }
        
         this.lockManager = new SharedLocalYieldingClusterLockManager(SERVICE_NAME, this.service, this.service);
        
         try
         {
            this.lockManager.start();
         }
View Full Code Here


   @Override
   public <T extends OutgoingDistributableSessionData> org.jboss.web.tomcat.service.session.distributedcache.spi.DistributedCacheManager<T> getDistributedCacheManager(LocalDistributableSessionManager manager)
   {
      Cache<String, Map<Object, Object>> sessionCache = this.sessionCacheSource.getCache(manager);
      SharedLocalYieldingClusterLockManager lockManager = this.lockManagerSource.getLockManager(sessionCache);
      TransactionManager tm = sessionCache.getAdvancedCache().getTransactionManager();
     
      if (!(tm instanceof BatchModeTransactionManager))
      {
         throw new IllegalStateException("Unexpected transaction manager type: " + ((tm != null) ? tm.getClass().getName() : "null"));
View Full Code Here

         catch (Exception e)
         {
            throw new IllegalStateException("Unexpected exception while starting group communication service for " + channel.getClusterName());
         }
        
         this.lockManager = new SharedLocalYieldingClusterLockManager(SERVICE_NAME, this.service, this.service);
        
         try
         {
            this.lockManager.start();
         }
View Full Code Here

TOP

Related Classes of org.jboss.ha.framework.server.lock.SharedLocalYieldingClusterLockManager

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.