code: @Override
      public synchronized boolean truncate() throws TTException {
          mDatabase.close();
          if (mEnv.getDatabaseNames().contains(NAME)) {
              mEnv.removeDatabase(null, NAME);
          }
          mEnv.close();
          return IOUtils.recursiveDelete(mFile);
      }
docs: {@inheritDoc}