Package org.apache.catalina.session

Examples of org.apache.catalina.session.StandardSession.lockBackground()


            StandardSession session = (StandardSession) sessions[i];
            if(session.getIsValid()
                    && (session.getIdInternal() != null)
                    && !session.hasExpired()
                    && isSessionOlderThan(session, repairStartTime)) {
                if(session.lockBackground()) {
                    try {
                        ((HASession)session).setPersistent(false);
                        ((HASession)session).setDirty(true, false);
                        doValveSave(session);
                    } finally {
View Full Code Here


                condition = (session.getIsValid()
                    && (session.getIdInternal() != null)
                    && !session.hasExpired() );               
            }
            if(condition) {         
                if(session.lockBackground()) {
                    try {
                        ((HASession)session).setPersistent(false);
                        ((HASession)session).setDirty(true, false);
                        doValveSave(session);
                    } catch(Throwable t) {
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.