|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.com.CachingConfServicePolicy
public final class CachingConfServicePolicy
The default policy for a configuration service which has caching enabled.
Constructor Summary | |
---|---|
CachingConfServicePolicy()
|
Method Summary | |
---|---|
boolean |
getAttemptLinkResolutionThroughCache(CfgObjectType objectType)
Determines whether link resolution should be attempted through the cache before querying the configuration server (link resolution refers to the automatic retrieval of configuration objects when certain properties are accessed). |
boolean |
getCacheOnRetrieve(ICfgObject obj)
Determines whether the specified object should be cached upon being retrieved from the configuration server. |
boolean |
getCacheOnSave(ICfgObject obj)
Determines whether the specified object should be cached upon being saved in the configuration server. |
boolean |
getOverwriteCachedVersionOnRetrieve(ICfgObject newObj)
Determines whether an existing cached object should be overwritten if a newer copy is retrieved from configuration server. |
boolean |
getQueryCacheOnRetrieve(ICfgQuery query)
Determines whether the cache should be queried before a retrieve operation is performed. |
boolean |
getQueryCacheOnRetrieveMultiple(ICfgQuery query)
Determines whether the cache should be queried before a retrieve multiple operation is performed. |
boolean |
getValidateBeforeSave()
Determines whether the properties of an object should be validated for correctness before a save operation is attempted. |
void |
setValidateBeforeSave(boolean value)
Determines whether the properties of an object should be validated for correctness before a save operation is attempted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingConfServicePolicy()
Method Detail |
---|
public boolean getQueryCacheOnRetrieve(ICfgQuery query)
getQueryCacheOnRetrieve
in interface IConfServicePolicy
query
- This parameter is ignored
public boolean getQueryCacheOnRetrieveMultiple(ICfgQuery query)
getQueryCacheOnRetrieveMultiple
in interface IConfServicePolicy
query
- This parameter is ignored
public boolean getValidateBeforeSave()
getValidateBeforeSave
in interface IConfServicePolicy
public void setValidateBeforeSave(boolean value)
setValidateBeforeSave
in interface IConfServicePolicy
value
- new value for the validation enabling propertypublic boolean getCacheOnRetrieve(ICfgObject obj)
getCacheOnRetrieve
in interface IConfServicePolicy
obj
- This parameter is ignored
public boolean getCacheOnSave(ICfgObject obj)
getCacheOnSave
in interface IConfServicePolicy
obj
- This parameter is ignored
public boolean getAttemptLinkResolutionThroughCache(CfgObjectType objectType)
getAttemptLinkResolutionThroughCache
in interface IConfServicePolicy
objectType
- This parameter is ignored
public boolean getOverwriteCachedVersionOnRetrieve(ICfgObject newObj)
getOverwriteCachedVersionOnRetrieve
in interface IConfServicePolicy
newObj
- This parameter is ignored
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |