Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java @ 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 | 02cd002205a3 |
children |
comparison
equal
deleted
inserted
replaced
2089:0da8874bd378 | 2090:17e7a0d063bd |
---|---|
6 * Caching-Key object for 'static' wst- data. | 6 * Caching-Key object for 'static' wst- data. |
7 */ | 7 */ |
8 public final class StaticWQKmsCacheKey | 8 public final class StaticWQKmsCacheKey |
9 implements Serializable | 9 implements Serializable |
10 { | 10 { |
11 public static final String CACHE_NAME = "wst-wq--value-table-static"; | 11 public static final String CACHE_NAME = "wst-wq-value-table-static"; |
12 | 12 |
13 private int column; | 13 private int column; |
14 private int wst_id; | 14 private int wst_id; |
15 | 15 |
16 public StaticWQKmsCacheKey(int column, int wst_id) { | 16 public StaticWQKmsCacheKey(int column, int wst_id) { |
25 public boolean equals(Object other) { | 25 public boolean equals(Object other) { |
26 if (!(other instanceof StaticWQKmsCacheKey)) { | 26 if (!(other instanceof StaticWQKmsCacheKey)) { |
27 return false; | 27 return false; |
28 } | 28 } |
29 StaticWQKmsCacheKey o = (StaticWQKmsCacheKey) other; | 29 StaticWQKmsCacheKey o = (StaticWQKmsCacheKey) other; |
30 return wst_id == o.wst_id && this.column == o.column; | 30 return this.wst_id == o.wst_id && this.column == o.column; |
31 } | 31 } |
32 } | 32 } |
33 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 33 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |