|
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.cache.DefaultConfCachePolicy
public final class DefaultConfCachePolicy
The default configuration cache policy.
Constructor Summary | |
---|---|
DefaultConfCachePolicy()
|
Method Summary | |
---|---|
boolean |
getCacheOnCreate(ICfgObject obj)
Determines if the passed object should be stored in the cache upon receiving notification of its creation in the configuration server. |
boolean |
getRemoveOnDelete(ICfgObject obj)
Determines if the passed object should be deleted from the cache if it is deleted from the configuration server. |
boolean |
getReturnCopies()
Specifies whether the cache should return copies of stored objects or the objects themselves. |
boolean |
getTrackUpdates(ICfgObject obj)
Determines if the passed object's state should be synchronized with the configuration server upon receiving an update. |
void |
setReturnCopies(boolean value)
Specifies whether the cache should return copies of stored objects or the objects themselves. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConfCachePolicy()
Method Detail |
---|
public boolean getCacheOnCreate(ICfgObject obj)
getCacheOnCreate
in interface IConfCachePolicy
obj
- This parameter is ignored
public boolean getTrackUpdates(ICfgObject obj)
getTrackUpdates
in interface IConfCachePolicy
obj
- This parameter is ignored
public boolean getRemoveOnDelete(ICfgObject obj)
getRemoveOnDelete
in interface IConfCachePolicy
obj
- This parameter is ignored
public boolean getReturnCopies()
getReturnCopies
in interface IConfCachePolicy
public void setReturnCopies(boolean value)
value
- new property value
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |