Class SessionCleanupServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.apphosting.utils.servlet.SessionCleanupServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class SessionCleanupServlet extends javax.servlet.http.HttpServletThis servlet is run to cleanup expired sessions. Since our sessions are clustered, no individual runtime knows when they expire (nor do we guarantee that runtimes survive to do cleanup), so we have to push this determination out to an external sweeper like cron.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionCleanupServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidservice(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-