Reads a store from disk. @param name name of store @param qc query context @param info input info @throws QueryException query exception
(final String name, final InputInfo info, final QueryContext qc)
| 160 | * @throws QueryException query exception |
| 161 | */ |
| 162 | public synchronized void read(final String name, final InputInfo info, final QueryContext qc) |
| 163 | throws QueryException { |
| 164 | if(storeFile(name).exists()) { |
| 165 | readStore(name, info, qc); |
| 166 | } else { |
| 167 | stores.remove(name); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * Writes the current store to disk. |
no test coverage detected