Package org.jboss.web.tomcat.service.session.persistent

Examples of org.jboss.web.tomcat.service.session.persistent.DataSourcePersistentManager.stop()


         clearNotifications(hsl0, hsal0, null, null, SessionSpecListenerAttribute.invocations);
        
        
      }
     
      mgr1.stop();
     
      if (!notify)
      {
         validateNoNotifications(hsl0, hsal0, hsl1, hsal1);
      }
View Full Code Here


      WeakReference<Session> session0A = new WeakReference<Session>(mgr0.findSession(sessionId));
      SessionTestUtil.cleanupPipeline(mgr0);
      assertNotNull(session0A.get());
     
      mgr0.stop();        
      mgr1.stop();   
     
      cleanHeap();
      assertNull(session0A.get());
      assertAttributeCount(0);
   }
View Full Code Here

      assertEquals("Local session count correct", 2, mgr.getLocalActiveSessionCount());
      assertEquals("Created session count correct", 3, mgr.getCreatedSessionCount());
      assertEquals("Expired session count correct", 0, mgr.getExpiredSessionCount());
      assertEquals("Passivated session count correct", 1, mgr.getPassivatedSessionCount());
     
      mgr.stop();
     
      mgr = PersistentSessionTestUtil.createManager("test" + testCount, 5, null);     
      PersistentSessionTestUtil.configureManager(mgr, 2, true, 3, 1);
     
      mgr.start();
View Full Code Here

      assertEquals("Expired session count correct", 0, mgr1.getExpiredSessionCount());
      assertEquals("Passivated session count correct", 1, mgr1.getPassivatedSessionCount());
     
      if (fullRestart)
      {
        mgr1.stop();
      }
     
      mgr0.stop();
     
      mgr0 = PersistentSessionTestUtil.createManager("test" + testCount, 300, null);
View Full Code Here

      assertEquals("Created session count correct", 1, mgr1.getCreatedSessionCount());
      assertEquals("Expired session count correct", 0, mgr1.getExpiredSessionCount());
     
      if (fullRestart)
      {
        mgr1.stop();
      }
     
      mgr0.stop();
     
      mgr0 = PersistentSessionTestUtil.createManager("test" + testCount, 300, null);
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.