MCPcopy Create free account
hub / github.com/cschanck/single-file-java / close

Method close

src/main/java/org/sfj/ChiseledMap.java:383–387  ·  view source on GitHub ↗

Close this TinyKVMap. @throws IOException on exception

()

Source from the content-addressed store, hash-verified

381 * @throws IOException on exception
382 */
383 public synchronized void close() throws IOException {
384 flushBuffer();
385 fc.close();
386 map.clear();
387 }
388
389 @Override
390 public int size() {

Callers 3

test1KWritesMethod · 0.95
testIntsToIntsMethod · 0.95

Calls 3

flushBufferMethod · 0.95
closeMethod · 0.65
clearMethod · 0.45

Tested by 3

test1KWritesMethod · 0.76
testIntsToIntsMethod · 0.76