|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The configuration interface for the DefaultMRUCacheImpl implementation. Copyright 2002 Sapient
| Field Summary |
| Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
ComponentTemplateName |
| Method Summary | |
Integer |
getCapacity()
Capacity specifies the maximum number a data elements the cache can hold before it starts to drop the least recently used elements. |
Long |
getExpirationInterval()
ExpirationInterval specifies the time after which a datum has been loaded into the cache it must be reloaded. |
void |
setCapacity(Integer capacity)
Capacity specifies the maximum number a data elements the cache can hold before it starts to drop the least recently used elements. |
void |
setExpirationInterval(Long expirationInterval)
ExpirationInterval specifies the time after which a datum has been loaded into the cache it must be reloaded. |
| 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 |
public Integer getCapacity()
public void setCapacity(Integer capacity)
capacity - value of the capacitypublic Long getExpirationInterval()
public void setExpirationInterval(Long expirationInterval)
expirationInterval - value of the expiration interval
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||