Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/CachingQueryExecutorFactory.java @ 897:02cd2935b5fa
Removed trailing whitespace.
geo-backend/trunk@1013 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 28 Apr 2010 07:04:19 +0000 |
parents | eb777022b628 |
children | 1985d5db0feb |
comparison
equal
deleted
inserted
replaced
896:c7756576044f | 897:02cd2935b5fa |
---|---|
53 public void cacheResults(String query, Collection<Result> results) { | 53 public void cacheResults(String query, Collection<Result> results) { |
54 log.debug("store results in SQL cache"); | 54 log.debug("store results in SQL cache"); |
55 Cache cache = manager.getCache(CACHE_NAME); | 55 Cache cache = manager.getCache(CACHE_NAME); |
56 cache.put(new Element(query, results)); | 56 cache.put(new Element(query, results)); |
57 } | 57 } |
58 | 58 |
59 public void clearCache(String[] tableNames) { | 59 public void clearCache(String[] tableNames) { |
60 Cache cache = manager.getCache(CACHE_NAME); | 60 Cache cache = manager.getCache(CACHE_NAME); |
61 Iterator keys = cache.getKeys().iterator(); | 61 Iterator keys = cache.getKeys().iterator(); |
62 while (keys.hasNext()){ | 62 while (keys.hasNext()){ |
63 String origKey = (String)keys.next(); | 63 String origKey = (String)keys.next(); |