Examples of IncomingDistributableSessionData


Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

                                       boolean includeAttributes)
   {
      Integer version = (Integer) distributedCacheData.get(VERSION_KEY);
      Long timestamp = (Long) distributedCacheData.get(TIMESTAMP_KEY);
      DistributableSessionMetadata metadata = (DistributableSessionMetadata) distributedCacheData.get(METADATA_KEY);
      IncomingDistributableSessionData result = null;
      if (includeAttributes)
      {
         Map<String, Object> attrs = getSessionAttributes(realId, distributedCacheData);     
         result = new IncomingDistributableSessionDataImpl(version, timestamp, metadata, attrs);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

      if (initialLoad)
      {
         setupSessionRegion(fqn);
      }
     
      IncomingDistributableSessionData dsd = null;
     
      try
      {
         dsd = getDistributableSessionData(realId, sessionData, true);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

            long ts = -1;
            DistributableSessionMetadata md = null;
            try
            {
               IncomingDistributableSessionData sessionData = proxy_.getSessionData(realId, owner, false);
               ts = sessionData.getTimestamp();
               md = sessionData.getMetadata();
            }
            catch (Exception e)
            {
               // most likely a lock conflict if the session is being updated remotely;
               // ignore it and use default values for timstamp and maxInactive
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

            // Tomcat calls Manager.findSession before setting the tccl,
            // so we need to do it :(
            switcher = getContextClassLoaderSwitcher().getSwitchContext();
            switcher.setClassLoader(tcl_);
                       
            IncomingDistributableSessionData data = proxy_.getSessionData(realId, initialLoad);
            if (data != null)
            {
               session.update(data);
            }
            else
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

      if (initialLoad)
      {
         setupSessionRegion(fqn);
      }
     
      IncomingDistributableSessionData dsd = null;
     
      try
      {
         dsd = getDistributableSessionData(realId, sessionData, true);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

                                       boolean includeAttributes)
   {
      Integer version = (Integer) distributedCacheData.get(VERSION_KEY);
      Long timestamp = (Long) distributedCacheData.get(TIMESTAMP_KEY);
      DistributableSessionMetadata metadata = (DistributableSessionMetadata) distributedCacheData.get(METADATA_KEY);
      IncomingDistributableSessionData result = null;
      if (includeAttributes)
      {
         Map<String, Object> attrs = getSessionAttributes(realId, distributedCacheData);     
         result = new IncomingDistributableSessionDataImpl(version, timestamp, metadata, attrs);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

      if (initialLoad)
      {
         setupSessionRegion(fqn);
      }
     
      IncomingDistributableSessionData dsd = null;
     
      try
      {
         dsd = getDistributableSessionData(realId, sessionData, true);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

                                       boolean includeAttributes)
   {
      Integer version = (Integer) distributedCacheData.get(VERSION_KEY);
      Long timestamp = (Long) distributedCacheData.get(TIMESTAMP_KEY);
      DistributableSessionMetadata metadata = (DistributableSessionMetadata) distributedCacheData.get(METADATA_KEY);
      IncomingDistributableSessionData result = null;
      if (includeAttributes)
      {
         Map<String, Object> attrs = getSessionAttributes(realId, distributedCacheData);     
         result = new IncomingDistributableSessionDataImpl(version, timestamp, metadata, attrs);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

         if (initialLoad)
         {
            setupSessionRegion(fqn);
         }
        
         IncomingDistributableSessionData dsd = null;
        
         try
         {
            dsd = getDistributableSessionData(realId, sessionData, true);
         }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

               {
                  break;
               }
            }
         }
         IncomingDistributableSessionData result = distributedCacheData == null ? null : getDistributableSessionData(realId, distributedCacheData, includeAttributes);
         loadCompleted = true;
         return result;
      }
      catch (Exception e)
      {        
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.