MCPcopy Create free account
hub / github.com/BaseXdb/basex / close

Method close

basex-core/src/main/java/org/basex/data/DiskData.java:156–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 @Override
157 public synchronized void close() {
158 if(closed) return;
159 super.close();
160 try {
161 write();
162 table.close();
163 texts.close();
164 values.close();
165 close(IndexType.TEXT);
166 close(IndexType.ATTRIBUTE);
167 close(IndexType.TOKEN);
168 close(IndexType.FULLTEXT);
169 } catch(final IOException ex) {
170 Util.stack(ex);
171 }
172 }
173
174 /**
175 * Closes the specified index.

Callers 3

optimizeAllMethod · 0.95
createIndexMethod · 0.95
dropIndexMethod · 0.95

Calls 5

closeMethod · 0.95
writeMethod · 0.95
stackMethod · 0.95
setMethod · 0.95
indexMethod · 0.65

Tested by

no test coverage detected