Package com.sun.enterprise.web.connector.grizzly

Examples of com.sun.enterprise.web.connector.grizzly.FileCacheFactory


   
    /**
     * Configure the factory.
     */
    public static FileCacheFactory newInstance(int currentPort){
        FileCacheFactory fileCacheFactory= new SSLFileCacheFactory();

        fileCacheFactory.port = currentPort;
        cache.put(currentPort, fileCacheFactory);

        Queue<FileCacheEntry> cacheManager =
            new  ConcurrentQueue<FileCacheEntry>("SSLFileCacheFactory.cacheManager");
        fileCacheFactory.setCacheManager(cacheManager)

        return fileCacheFactory;
    }   
View Full Code Here


    /**
     * Return an instance of this Factory.
     */
    public static FileCacheFactory getFactory(int currentPort){
               
        FileCacheFactory fileCacheFactory = cache.get(currentPort);
        if ( fileCacheFactory == null ){
            fileCacheFactory = newInstance(currentPort);
        }

        return fileCacheFactory;
View Full Code Here

TOP

Related Classes of com.sun.enterprise.web.connector.grizzly.FileCacheFactory

Copyright © 2018 www.massapicom. 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.