Mercurial > dive4elements > river
changeset 2090:17e7a0d063bd
Add cache config for static wqkms data.
flys-artifacts/trunk@3615 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 06 Jan 2012 12:55:01 +0000 |
parents | 0da8874bd378 |
children | 5d158f8ad080 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Fri Jan 06 12:02:10 2012 +0000 +++ b/flys-artifacts/ChangeLog Fri Jan 06 12:55:01 2012 +0000 @@ -1,3 +1,12 @@ +2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + Add cache for 'static' wqkms (e.g. BaseData) to default cache conf. + + * doc/conf/cache.xml: Add Cache Config for static wqkms. + + * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java: + Adjust typo in cache name, minor cosmetic. + 2011-01-06 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java Fri Jan 06 12:02:10 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java Fri Jan 06 12:55:01 2012 +0000 @@ -8,7 +8,7 @@ public final class StaticWQKmsCacheKey implements Serializable { - public static final String CACHE_NAME = "wst-wq--value-table-static"; + public static final String CACHE_NAME = "wst-wq-value-table-static"; private int column; private int wst_id; @@ -27,7 +27,7 @@ return false; } StaticWQKmsCacheKey o = (StaticWQKmsCacheKey) other; - return wst_id == o.wst_id && this.column == o.column; + return this.wst_id == o.wst_id && this.column == o.column; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :