()
| 74 | } |
| 75 | |
| 76 | public List<Config> queryAll() throws Exception { |
| 77 | List<Config> ret = cache.query("queryAll", 0); |
| 78 | if (ret != null) { |
| 79 | |
| 80 | return ret; |
| 81 | } |
| 82 | |
| 83 | ret = dao.queryForAll(); |
| 84 | |
| 85 | cache.set("queryAll", 0, ret); |
| 86 | return ret; |
| 87 | } |
| 88 | |
| 89 | public void update(Config config) throws Exception { |
| 90 | dao.update(config); |
no test coverage detected