|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.core.config.jaxb.JAXBCacheConfiguration
public class JAXBCacheConfiguration
Field Summary |
---|
Fields inherited from interface oracle.stellent.wcm.core.config.CacheConfiguration |
---|
PROPERTY_CHECK_LOCAL_FS, PROPERTY_MAX_SIZE, PROPERTY_TIMEOUT_MILLIS |
Constructor Summary | |
---|---|
JAXBCacheConfiguration() |
|
JAXBCacheConfiguration(oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType cacheType) |
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getCacheProperties() |
java.lang.String |
getCacheProperty(java.lang.String name) A cache property |
int |
getMaxSize() |
oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType |
getModel() |
long |
getTimeoutMillis() |
boolean |
isCheckLocalFS() |
boolean |
isEnabled() |
void |
setCacheProperty(java.lang.String name, java.lang.String value) Set a connection property |
void |
setCheckLocalFS(boolean checkLocalFS) Set to enable checking of the local file system |
void |
setEnabled(boolean enabled) |
void |
setMaxSize(int size) Set the max size of the cache |
void |
setTimeoutMillis(long timeout) Set the timeout value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAXBCacheConfiguration()
public JAXBCacheConfiguration(oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType cacheType)
Method Detail |
---|
public oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType getModel()
public boolean isEnabled()
isEnabled
in interface CacheConfiguration
public void setEnabled(boolean enabled)
setEnabled
in interface CacheConfiguration
enabled
- true to enable cachingpublic java.lang.String getCacheProperty(java.lang.String name)
getCacheProperty
in interface CacheConfiguration
name
- the property namepublic void setCacheProperty(java.lang.String name, java.lang.String value)
setCacheProperty
in interface CacheConfiguration
name
- the namevalue
- the value (if null, removes the property)public java.util.Set<java.lang.String> getCacheProperties()
getCacheProperties
in interface CacheConfiguration
public int getMaxSize()
getMaxSize
in interface CacheConfiguration
CacheConfiguration.PROPERTY_MAX_SIZE
public void setMaxSize(int size)
setMaxSize
in interface CacheConfiguration
size
- the sizepublic long getTimeoutMillis()
getTimeoutMillis
in interface CacheConfiguration
CacheConfiguration.PROPERTY_TIMEOUT_MILLIS
public void setTimeoutMillis(long timeout)
setTimeoutMillis
in interface CacheConfiguration
timeout
- the timeout in millisecondspublic boolean isCheckLocalFS()
public void setCheckLocalFS(boolean checkLocalFS)
setCheckLocalFS
in interface CacheConfiguration
checkLocalFS
- true to check the file system
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |