Examples of PersistentManagerBase


Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        if (getLoader() != null) {
            if (reloadable && (getLoader().modified())) {
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        if (getLoader() != null) {
            if (reloadable && (getLoader().modified())) {
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        if (getLoader() != null) {
            if (reloadable && (getLoader().modified())) {
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

    WebModuleStatistics getWebModuleStatistics() {
        WebModuleStatistics stats = null;
        Context ctx = (Context) this.getContainer();
        Manager mgr = ctx.getManager();
        if( !(mgr instanceof StandardManager) ) {
            PersistentManagerBase haMgr = (PersistentManagerBase) mgr;
            stats = (WebModuleStatistics)haMgr.getWebModuleStatistics();
        }
        return stats;
    }   
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        String id = httpSess.getId();
        if(_logger.isLoggable(Level.FINEST)) {
            _logger.finest("SESSION_ID=" + id);
        }
        Manager mgr = this.getContainer().getManager();
        PersistentManagerBase pmb = (PersistentManagerBase)mgr;
        Session sess = null;
        try {
            //if failover occurred - cached session will be removed
            //and session retrieved from store (if it exists)
            if(forLock) {
                //for lock if failover, purge cache and force re-load
                sess = pmb.findSession(id, hasFailoverOccurred(request));
                resetSession((HttpServletRequest)servletReq, sess);
            } else {
                //for unlock do not purge cache and force re-load
                sess = pmb.findSession(id, false);
            }
        } catch (java.io.IOException ex) {}
        if(_logger.isLoggable(Level.FINEST)) {
            _logger.finest("RETRIEVED_SESSION=" + sess);
        }
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        // START S1AS8PE 4965017
        if (isReload()) {
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        // START S1AS8PE 4965017
        if (isReload()) {
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.processExpires();
                pManager.processPersistenceChecks();
                if ((pManager.getStore() != null)
                    && (pManager.getStore() instanceof StoreBase)) {
                    ((StoreBase) pManager.getStore()).processExpires();
                }
            }
        }

        if (getLoader() != null) {
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        // START S1AS8PE 4965017
        if (isReload()) {
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase

        if ((getManager() != null) && (count == 0)) {
            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        // START S1AS8PE 4965017
        if (isReload()) {
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.