Examples of lockBackground()


Examples of com.ericsson.ssa.sip.DialogFragment.lockBackground()

            //by virtue of being in the cache it is considered to
            //but since invalidate is called before removal we must check           
            if(fragment.isValid()
                && (fragment.getDialogId() != null)
                && isDialogFragmentOlderThan(fragment, repairStartTime)) {
                if(fragment.lockBackground()) {
                    try {
                        ((HADialogFragment)fragment).setReplicated(false);
                        ((HADialogFragment)fragment).setDirty(true);
                        saveDialogFragment(fragment);
                    } catch (IOException ex) {
View Full Code Here

Examples of com.ericsson.ssa.sip.SipApplicationSessionImpl.lockBackground()

            //be not expired
            //but since invalidate is called before removal we must check
            if(session.isValid()
                && (session.getId() != null)
                && isSipApplicationSessionOlderThan(session, repairStartTime)          
                && session.lockBackground()) {
                try {
                    ((HASipApplicationSession)session).setReplicated(false);
                    ((HASipApplicationSession)session).setDirty(true, false);
                    saveSipApplicationSession(session);
                } catch (IOException ex) {
View Full Code Here

Examples of com.ericsson.ssa.sip.SipSessionDialogImpl.lockBackground()

            //be not expired
            //but since invalidate is called before removal we must check           
            if(session.isValid()
                && (session.getId() != null)
                && isSipSessionOlderThan(session, repairStartTime)          
                && session.lockBackground()) {
                try {
                    ((HASipSession)session).setReplicated(false);
                    ((HASipSession)session).setDirty(true, false);
                    saveSipSession(session);
                } catch (IOException ex) {
View Full Code Here

Examples of com.ericsson.ssa.sip.timer.ServletTimerImpl.lockBackground()

            //by virtue of being in the cache it is considered to
            //be not expired          
            if(timer.getId() != null
                && timer.isPersistent()
                && isServletTimerOlderThan(timer, repairStartTime)
                && timer.lockBackground()) {
                try {
                    ((HAServletTimer)timer).setReplicated(false);
                    ((HAServletTimer)timer).setDirty(true, false);
                    saveServletTimer(timer);
                } catch (IOException ex) {
View Full Code Here

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

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

                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.