Skip navigation links
com.stellent.cis.client.api.common.administrative.cache.scs
Interface ISCSCachePolicy
- All Superinterfaces:
- ICISObject, ICISObjectInitializable, java.io.Serializable
- All Known Subinterfaces:
- ISCSFileCachePolicy, ISCSServiceCachePolicy
-
public interface ISCSCachePolicy
- extends ICISObject, ICISObjectInitializable
A caching policy for an Active API
CACHE_TYPE_GLOBAL
static final int CACHE_TYPE_GLOBAL
-
- See Also:
- Constant Field Values
CACHE_TYPE_USER
static final int CACHE_TYPE_USER
-
- See Also:
- Constant Field Values
getServiceName
java.lang.String getServiceName()
-
- Returns:
- the name of the service this cache policy represents
setServiceName
void setServiceName(java.lang.String service)
- Set the service name
-
- Parameters:
service
- the name of the service
setCacheType
void setCacheType(int cacheType)
- Set the cache type for this command
-
- Parameters:
cacheType
- the type of cache, can be either CACHE_TYPE_GLOBAL
or CACHE_TYPE_USER
getCacheType
int getCacheType()
- Get the cache type
-
- Returns:
- the type of cache
isCacheEnabled
boolean isCacheEnabled()
- Determines if this command has caching enabled
-
- Returns:
- true if cache is enabled, false otherwise
setCacheEnabled
void setCacheEnabled(boolean enabled)
- Set the cache flag for this command
-
- Parameters:
enabled
- true to enable the cache, false to disable
getCacheTimeout
long getCacheTimeout()
-
- Returns:
- the cache timeout value for this entry
setCacheTimeout
void setCacheTimeout(long timeout)
-
- Parameters:
timeout
- the amount of time this entry is valid in the cache
isDefault
boolean isDefault()
-
- Returns:
- true if this is the default policy
setDefault
void setDefault(boolean isDefault)
-
- Parameters:
isDefault
- set to true if it is the default
Skip navigation links
Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.