void save() throws Exception { ByteBuffer buffer = ByteBuffer.allocate(1); buffer.put(rootPage.getUnique() ? (byte) 1 : (byte) 0); buffer.position(0); raFile.write(buffer); ((FileIndexNode) rootPage).save(); }