Package org.jboss.cache.optimistic

Examples of org.jboss.cache.optimistic.OptimisticNodeFactory


      switch (configuration.getNodeLockingScheme())
      {
         case MVCC:
            return componentType.cast(new MVCCNodeFactory());
         case OPTIMISTIC:
            return componentType.cast(new OptimisticNodeFactory());
         case PESSIMISTIC:
            return componentType.cast(new PessimisticNodeFactory());
         default:
            throw new ConfigurationException("Unknown locking scheme " + configuration.getNodeLockingScheme());
      }
View Full Code Here

TOP

Related Classes of org.jboss.cache.optimistic.OptimisticNodeFactory

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.