Package de.javakaffee.web.msm.MemcachedSessionService

Examples of de.javakaffee.web.msm.MemcachedSessionService.SessionManager.createSession()


        final SessionManager manager = _tomcat1.getManager();
        manager.setMaxInactiveInterval( 5 );
        manager.setSticky( true );
        final SessionIdFormat sessionIdFormat = new SessionIdFormat();

        final Session session = manager.createSession( null );
        assertNull( sessionIdFormat.extractMemcachedId( session.getId() ) );

        _daemon.start();

        // Wait so that the daemon will be available and the client can reconnect (async get didn't do the trick)
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.