org.eclipse.jetty.server.session
Class AbstractOrphanedSessionTest

java.lang.Object
  extended by org.eclipse.jetty.server.session.AbstractOrphanedSessionTest

public abstract class AbstractOrphanedSessionTest
extends Object

AbstractOrphanedSessionTest


Nested Class Summary
static class AbstractOrphanedSessionTest.TestServlet
           
 
Constructor Summary
AbstractOrphanedSessionTest()
           
 
Method Summary
abstract  AbstractTestServer createServer(int port, int max, int scavenge)
           
 void testOrphanedSession()
          If nodeA creates a session, and just afterwards crashes, it is the only node that knows about the session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOrphanedSessionTest

public AbstractOrphanedSessionTest()
Method Detail

createServer

public abstract AbstractTestServer createServer(int port,
                                                int max,
                                                int scavenge)

testOrphanedSession

public void testOrphanedSession()
                         throws Exception
If nodeA creates a session, and just afterwards crashes, it is the only node that knows about the session. We want to test that the session data is gone after scavenging.

Throws:
Exception


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.