Package com.volantis.mcs.runtime.configuration

Examples of com.volantis.mcs.runtime.configuration.CacheOperationConfiguration


        PipelineConfiguration configFileInfo =
                marinerConfiguration.getPipelineConfiguration();

        // Create the caches
        final CacheProcessConfiguration cacheProcessConfiguration;
        final CacheOperationConfiguration cacheOperationConfiguration =
            configFileInfo.getCacheOperationConfiguration();
        if (cacheOperationConfiguration != null) {
            // @todo this seems a bit inefficient, iterating over the same
            // collection twice. But the collection is expected to be small.
            // Leaving for now.
            int cacheSize = calculateTotalMaxEntries(
                    cacheOperationConfiguration.getCacheConfigurations());
            cacheProcessConfiguration = new CacheProcessConfiguration();
            createCaches(cacheProcessConfiguration,
                cacheOperationConfiguration.getCacheConfigurations());
            cacheProcessConfiguration.setFixedExpiryMode(
                cacheOperationConfiguration.isFixedExpiryMode());
        } else {
            cacheProcessConfiguration = new CacheProcessConfiguration();
        }

        pipelineConfig.storeConfiguration(CacheProcessConfiguration.class,
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.configuration.CacheOperationConfiguration

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.