|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISCSCachePolicy
A caching policy for an Active API
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.stellent.cis.client.api.common.ICISObjectInitializable |
---|
ICISObjectInitializable.AdapterVersionAware |
Field Summary | |
---|---|
static int |
CACHE_TYPE_GLOBAL
|
static int |
CACHE_TYPE_USER
|
Fields inherited from interface com.stellent.cis.client.api.common.ICISObject |
---|
FILTER_NULL_VALUE, FILTER_READONLY, FILTER_SYSTEM |
Method Summary | |
---|---|
long |
getCacheTimeout()
|
int |
getCacheType()
Get the cache type |
java.lang.String |
getServiceName()
|
boolean |
isCacheEnabled()
Determines if this command has caching enabled |
boolean |
isDefault()
|
void |
setCacheEnabled(boolean enabled)
Set the cache flag for this command |
void |
setCacheTimeout(long timeout)
|
void |
setCacheType(int cacheType)
Set the cache type for this command |
void |
setDefault(boolean isDefault)
|
void |
setServiceName(java.lang.String service)
Set the service name |
Methods inherited from interface com.stellent.cis.client.api.common.ICISObject |
---|
getProperties, getPropertiesWithValue, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDescriptors, hasProperty, setProperty, setProperty, setProperty |
Methods inherited from interface com.stellent.cis.client.api.common.ICISObjectInitializable |
---|
intialize |
Field Detail |
---|
static final int CACHE_TYPE_GLOBAL
static final int CACHE_TYPE_USER
Method Detail |
---|
java.lang.String getServiceName()
void setServiceName(java.lang.String service)
service
- the name of the servicevoid setCacheType(int cacheType)
cacheType
- the type of cache, can be either CACHE_TYPE_GLOBAL
or CACHE_TYPE_USER
int getCacheType()
boolean isCacheEnabled()
void setCacheEnabled(boolean enabled)
enabled
- true to enable the cache, false to disablelong getCacheTimeout()
void setCacheTimeout(long timeout)
timeout
- the amount of time this entry is valid in the cacheboolean isDefault()
void setDefault(boolean isDefault)
isDefault
- set to true if it is the default
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |