IConfServicePolicy
public final class CachingConfServicePolicy extends java.lang.Object implements IConfServicePolicy
Constructor | Description |
---|---|
CachingConfServicePolicy() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
public boolean getQueryCacheOnRetrieve(ICfgQuery query)
getQueryCacheOnRetrieve
in interface IConfServicePolicy
query
- This parameter is ignoredpublic boolean getQueryCacheOnRetrieveMultiple(ICfgQuery query)
getQueryCacheOnRetrieveMultiple
in interface IConfServicePolicy
query
- This parameter is ignoredpublic 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 ignoredpublic boolean getCacheOnSave(ICfgObject obj)
getCacheOnSave
in interface IConfServicePolicy
obj
- This parameter is ignoredpublic boolean getAttemptLinkResolutionThroughCache(CfgObjectType objectType)
getAttemptLinkResolutionThroughCache
in interface IConfServicePolicy
objectType
- This parameter is ignoredpublic boolean getOverwriteCachedVersionOnRetrieve(ICfgObject newObj)
getOverwriteCachedVersionOnRetrieve
in interface IConfServicePolicy
newObj
- This parameter is ignoredSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.