Mercurial > dive4elements > river
diff flys-artifacts/ChangeLog @ 2084:a5f327849b85
Added a service to invalidate caches by their names. Useful tp prevent cache inconsistencies caused by external ETL processes.
flys-artifacts/trunk@3604 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 05 Jan 2012 18:35:09 +0000 |
parents | b52012d538af |
children | dd3f5bd174ea |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu Jan 05 14:32:44 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Jan 05 18:35:09 2012 +0000 @@ -1,3 +1,31 @@ +2011-01-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java: + New. Uses the CacheFactory to invalidate caches by their names. + This can be used by external ETL processes like the AFT/DIPS importer + to prevent cache inconsistencies. + + Input documents look like this: + + <caches> + <cache name="my-cache"/> + ... + <cache name="your-cache"/> + </caches> + + Output documents look like this: + + <caches> + <cache name="my-cache">All elements removed.</cache> + ... + <cache name="your-cache">Error: Cache not found.</cache> + </caches> + + * doc/conf/conf.xml: Added the cache invalidation service. + + * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java: + Added Override annotation. + 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de> flys/issue432 (Diagrammeigenschaften/Flächenrenderer: