Examples of StorePool


Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

        int haStorePoolSize = configReader.getHAStorePoolSizeFromConfig();
        int haStorePoolUpperSize = configReader.getHAStorePoolUpperSizeFromConfig();
        int haStorePoolPollTime = configReader.getHAStorePoolPollTimeFromConfig();       
       
        StoreFactory haStoreFactory = new ReplicationFullSessionStoreFactory();
        StorePool storePool =
            new StorePool(haStorePoolSize, haStorePoolUpperSize,
                haStorePoolPollTime, haStoreFactory);
        mgr.setStorePool(storePool);       
               
        //add HASessionStoreValve
        HASessionStoreValve hadbValve = new HASessionStoreValve();
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

            replSSO.setSingletonSSOStore((ReplicationSSOStore)ssoStoreFactory.createHAStore());
            ReplicaCache replicaCache = new ReplicaCache(replSSO);
            replSSO.setReplicaCache(replicaCache);
        }
        //TODO: get these configuration from server.xml
        StorePool storePool = new StorePool(StorePool.DEFAULT_INITIAL_SIZE, StorePool.DEFAULT_UPPER_SIZE, StorePool.DEFAULT_POLL_TIME, ssoStoreFactory);
        haSSO.setSSOStorePool(storePool);
        haSSO.setPassedInPersistenceType(this.getPassedInPersistenceType());
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

        int haStorePoolUpperSize = configReader.getHAStorePoolUpperSizeFromConfig();
        int haStorePoolPollTime = configReader.getHAStorePoolPollTimeFromConfig();

        // SipApplicationSession StorePool       
        StoreFactory sipApplicationSessionStoreFactory = new SipApplicationSessionStoreFactory();
        StorePool sipApplicationSessionStorePool = new StorePool(haStorePoolSize,
                haStorePoolUpperSize, haStorePoolPollTime,
                sipApplicationSessionStoreFactory);
        mgr.setSipApplicationSessionStorePool(sipApplicationSessionStorePool);

        // SipSession StorePool
        StoreFactory sipSessionStoreFactory = new SipSessionStoreFactory();
        StorePool sipSessionStorePool = new StorePool(haStorePoolSize,
                haStorePoolUpperSize, haStorePoolPollTime,
                sipSessionStoreFactory);
        mgr.setSipSessionStorePool(sipSessionStorePool);

        // ServletTimer StorePool
        StoreFactory servletTimerStoreFactory = new ServletTimerStoreFactory();
        StorePool servletTimerStorePool = new StorePool(haStorePoolSize,
                haStorePoolUpperSize, haStorePoolPollTime,
                servletTimerStoreFactory);
        mgr.setServletTimerStorePool(servletTimerStorePool);

        ctx.setSipSessionManager(mgr);
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

        mgr.setHAStorePool(storePool);
         */
       
        StoreFactory haStoreFactory = new HAAttributeStoreFactory();
        _logger.finest("haStoreFactory  : "+haStoreFactory.getClass());
        StorePool storePool =
            new StorePool(haStorePoolSize, haStorePoolUpperSize,
                haStorePoolPollTime, haStoreFactory);
        mgr.setStorePool(storePool);         
              
        //add container listener for hooking sync calls
        ctx.addContainerListener(new HASyncContainerListener(mgr));
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

                haStorePoolPollTime, haStoreFactory);
        mgr.setHAStorePool(storePool);
         */
       
        StoreFactory haStoreFactory = new HAFullSessionStoreFactory();
        StorePool storePool =
            new StorePool(haStorePoolSize, haStorePoolUpperSize,
                haStorePoolPollTime, haStoreFactory);
        mgr.setStorePool(storePool);        
       
        //add container listener for hooking sync calls
        ctx.addContainerListener(new HASyncContainerListener(mgr));
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

        int haStorePoolSize = configReader.getHAStorePoolSizeFromConfig();
        int haStorePoolUpperSize = configReader.getHAStorePoolUpperSizeFromConfig();
        int haStorePoolPollTime = configReader.getHAStorePoolPollTimeFromConfig();       
       
        StoreFactory haStoreFactory = new HAFullSessionStoreFactory();
        StorePool storePool =
            new StorePool(haStorePoolSize, haStorePoolUpperSize,
                haStorePoolPollTime, haStoreFactory);
        mgr.setStorePool(storePool);
        //SJSAS 6406580 END       
                       
    }       
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

                haStorePoolPollTime, haStoreFactory);
        mgr.setHAStorePool(storePool);
         */
       
        StoreFactory haStoreFactory = new HAFullSessionStoreFactory();
        StorePool storePool =
            new StorePool(haStorePoolSize, haStorePoolUpperSize,
                haStorePoolPollTime, haStoreFactory);
        mgr.setStorePool(storePool);         
               
        //add HASessionStoreValve
        HASessionStoreValve hadbValve = new HASessionStoreValve();
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

    public HASFSBStoreManager() {
        if(_logger.isLoggable(Level.FINEST)) {
            _logger.log(Level.FINEST, "HASFSBStoreManager  loaded successfully......");
        }
        StoreFactory haStoreFactory = new HAEjbStoreFactory();
        _pool = new StorePool(StorePool.DEFAULT_INITIAL_SIZE,
        StorePool.DEFAULT_UPPER_SIZE,
        StorePool.DEFAULT_POLL_TIME, haStoreFactory);
        //_uuidUtil = new HASFSBUUIDUtilImpl();
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

        }       
        if(_logger.isLoggable(Level.FINER)) {
            _logger.entering("HASFSBStoreManager", "passivateSave",
                new Object[] {beanState, new Boolean(isNew)});
        }
        StorePool storePool = this.getStorePool();
       
        HAEjbStore store = null;
        try {
            store = getStore();           
            ( (HAEjbStore) store).save(beanState, this, beanState.isNew());
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.StorePool

     */
    private void putStore(HAEjbStore store) {   
        ( (HAEjbStore) store).setContainer(null);
        if (store != null) {
            try {
                StorePool storePool = this.getStorePool();
                if(storePool != null) {
                    storePool.put( (StorePoolElement) store);
                }
            }
            catch (InterruptedException ex1) {
                //FIXME: log this
                ex1.printStackTrace();
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.