Package org.apache.jcs.auxiliary.disk.jdbc

Examples of org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheManager


    /**
     * This factory method should create an instance of the mysqlcache.
     */
    public AuxiliaryCache createCache( AuxiliaryCacheAttributes rawAttr, ICompositeCacheManager arg1 )
    {
        JDBCDiskCacheManager mgr = JDBCDiskCacheManager.getInstance( (JDBCDiskCacheAttributes) rawAttr );
        try
        {
            setupDatabase( (JDBCDiskCacheAttributes) rawAttr );
        }
        catch ( Exception e )
        {
            // TODO we may not want to try and get the cache at this point.
            log.error( "Problem setting up database.", e );
        }
        return mgr.getCache( (JDBCDiskCacheAttributes) rawAttr );
    }
View Full Code Here

TOP

Related Classes of org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheManager

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.