Examples of VersionAwareMarshaller


Examples of org.jboss.cache.marshall.VersionAwareMarshaller

      buddyGroupsIParticipateIn.put(newGroup.getGroupName(), newGroup);

      // Integrate state transfer from the data owner of the buddy group
      Fqn integrationBase = new Fqn(BuddyManager.BUDDY_BACKUP_SUBTREE_FQN,
              newGroup.getGroupName());
      VersionAwareMarshaller marshaller = null;
      if (cache.getUseRegionBasedMarshalling())
      {
         marshaller = cache.getMarshaller();
      }

      for (Iterator it = state.entrySet().iterator(); it.hasNext();)
      {
         Map.Entry entry = (Map.Entry) it.next();
         Fqn fqn = (Fqn) entry.getKey();
         String fqnS = fqn.toString();
         if (marshaller == null || !marshaller.isInactive(fqn.toString()))
         {
            ClassLoader cl = (marshaller == null) ? null : marshaller.getClassLoader(fqnS);
            Fqn integrationRoot = new Fqn(integrationBase, fqn);
            cache._setState((byte[]) entry.getValue(), integrationRoot, cl);
         }
      }
   }
View Full Code Here

Examples of org.jboss.cache.marshall.VersionAwareMarshaller

   public VersionAwareMarshaller getMarshaller()
   {
      if (marshaller_ == null)
      {
         marshaller_ = new VersionAwareMarshaller(getRegionManager(), inactiveOnStartup, useRegionBasedMarshalling, getReplicationVersion());
      }
      return marshaller_;
   }
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.