Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainerFactory.java @ 541:3cbf11c67fdc
Experimental caching of SQL results via Ehache
geo-backend/trunk@462 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 18 Dec 2009 16:13:52 +0000 |
parents | 5a583cff97ea |
children | 1c3efbd2fc5a |
comparison
equal
deleted
inserted
replaced
385:27082b83c267 | 541:3cbf11c67fdc |
---|---|
40 | 40 |
41 /** | 41 /** |
42 * This Method provides an singleton Instance of this Class. | 42 * This Method provides an singleton Instance of this Class. |
43 * @return an singleton Instance of this Class | 43 * @return an singleton Instance of this Class |
44 */ | 44 */ |
45 public static QueryContainerFactory getInstance(){ | 45 public static synchronized QueryContainerFactory getInstance(){ |
46 if (instance == null){ | 46 if (instance == null){ |
47 instance = new QueryContainerFactory(); | 47 instance = new QueryContainerFactory(); |
48 } | 48 } |
49 return instance; | 49 return instance; |
50 } | 50 } |