org.sape.carbon.services.cache.mru
Interface MRUCacheConfiguration

All Superinterfaces:
BaseMRUCacheConfiguration, ComponentConfiguration, Configuration

public interface MRUCacheConfiguration
extends BaseMRUCacheConfiguration

This is the configuration interface for a basic MRUCache Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.9 $($Author: dvoet $ / $Date: 2003/05/05 21:21:07 $)
Author:
Doug Voet, April 2002

Field Summary
 
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration
ComponentTemplateName
 
Method Summary
 MRUCacheDataLoader getDataLoader()
          DataLoader is the component this cache will used to load data
 void setDataLoader(MRUCacheDataLoader dataLoader)
          DataLoader is the component this cache will used to load data
 
Methods inherited from interface org.sape.carbon.services.cache.mru.BaseMRUCacheConfiguration
getCapacity, getExpirationInterval, setCapacity, setExpirationInterval
 
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Method Detail

getDataLoader

public MRUCacheDataLoader getDataLoader()
DataLoader is the component this cache will used to load data

Returns:
The dataloader for this cache

setDataLoader

public void setDataLoader(MRUCacheDataLoader dataLoader)
DataLoader is the component this cache will used to load data

Parameters:
dataLoader - the dataloader for this cache


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.