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,