CentraSite Documentation : CentraSite Developer's Guide : API for JAXR : CentraSite API for JAXR Reference Information : Caching Considerations : JAXR-based Caching Strategy
JAXR-based Caching Strategy
Objects that are retrieved from the registry by means of the CentraSite API for JAXR are stored in a cache by the JAXR-based connection. All objects stored in the cache are inspected from time to time by the Java garbage collector, which may delete them if there are no references to them from the application.
Any object reference that results from a call to getRegistryObject(), getRegistryObjects() or any of the find methods is, if possible, resolved from the cache. If an application already holds a reference to an object that resulted from any of these calls, the reference will also be in the cache, and the call will return the same Java reference.
There are situations, however, where the cache is cleared completely. This occurs, for example, after executing saveObjects or deleteObjects. Any Java reference that is retrieved after the cache is cleared will be different from a reference that was retrieved before the cache is cleared.
Note:  
This does not affect data integrity, since objects read cannot be concurrently updated.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback