Close this TinyKVMap. @throws IOException on exception
()
| 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() { |