Package org.infinispan.persistence.manager.PersistenceManager

Examples of org.infinispan.persistence.manager.PersistenceManager.AccessMode


      final boolean primaryOwner = clusteringDependentLogic.localNodeIsPrimaryOwner(key);
      try {
         if (newEntry) {
            //the entry does not exists in data container. We need to remove from private and shared stores.
            //if we are the primary owner
            AccessMode mode = primaryOwner ? BOTH : PRIVATE;
            if (persistenceManager.deleteFromAllStores(key, mode) && statisticsEnabled) {
               activations.incrementAndGet();
            }
         } else {
            //the entry already exists in data container. It may be put during the load by the CacheLoaderInterceptor
View Full Code Here

TOP

Related Classes of org.infinispan.persistence.manager.PersistenceManager.AccessMode

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.