Package org.eclipse.jetty.server.session
Class AbstractClusteredSessionScavengingTest
- java.lang.Object
-
- org.eclipse.jetty.server.session.AbstractTestBase
-
- org.eclipse.jetty.server.session.AbstractClusteredSessionScavengingTest
-
public abstract class AbstractClusteredSessionScavengingTest extends AbstractTestBase
AbstractClusteredSessionScavengingTest Test that a session that was live on node1, but then more recently used on node2 does not expire over on node1.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractClusteredSessionScavengingTest.TestServletstatic classAbstractClusteredSessionScavengingTest.TestSessionListener
-
Constructor Summary
Constructors Constructor Description AbstractClusteredSessionScavengingTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertAfterScavenge(SessionHandler manager)voidassertAfterSessionCreated(SessionHandler m)voidassertSessionCounts(int current, int max, int total, SessionHandler manager)voidpause(int secs)voidtestClusteredScavenge()-
Methods inherited from class org.eclipse.jetty.server.session.AbstractTestBase
createSessionDataStoreFactory
-
-
-
-
Method Detail
-
pause
public void pause(int secs) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testClusteredScavenge
@Test public void testClusteredScavenge() throws java.lang.Exception- Throws:
java.lang.Exception
-
assertAfterSessionCreated
public void assertAfterSessionCreated(SessionHandler m)
-
assertAfterScavenge
public void assertAfterScavenge(SessionHandler manager)
-
assertSessionCounts
public void assertSessionCounts(int current, int max, int total, SessionHandler manager)
-
-