|
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 |
public interface CacheConfiguration
Cache configuration in the server
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_CHECK_LOCAL_FS |
static java.lang.String |
PROPERTY_MAX_SIZE |
static java.lang.String |
PROPERTY_TIMEOUT_MILLIS |
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getCacheProperties() |
java.lang.String |
getCacheProperty(java.lang.String name) A cache property |
int |
getMaxSize() |
long |
getTimeoutMillis() |
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 |
Field Detail |
---|
static final java.lang.String PROPERTY_MAX_SIZE
static final java.lang.String PROPERTY_TIMEOUT_MILLIS
static final java.lang.String PROPERTY_CHECK_LOCAL_FS
Method Detail |
---|
boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- true to enable cachingjava.lang.String getCacheProperty(java.lang.String name)
name
- the property namevoid setCacheProperty(java.lang.String name, java.lang.String value)
name
- the namevalue
- the value (if null, removes the property)java.util.Set<java.lang.String> getCacheProperties()
int getMaxSize()
PROPERTY_MAX_SIZE
void setMaxSize(int size)
size
- the sizelong getTimeoutMillis()
PROPERTY_TIMEOUT_MILLIS
void setTimeoutMillis(long timeout)
timeout
- the timeout in millisecondsvoid setCheckLocalFS(boolean checkLocalFS)
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 |