示例#1
0
 @Override
 public synchronized void close() {
   if (closed) return;
   closed = true;
   try {
     write();
     table.close();
     texts.close();
     values.close();
     close(IndexType.TEXT);
     close(IndexType.ATTRIBUTE);
     close(IndexType.FULLTEXT);
   } catch (final IOException ex) {
     Util.stack(ex);
   }
 }
示例#2
0
文件: FTIndex.java 项目: fpapai/basex
 @Override
 public synchronized void close() {
   inX.close();
   inY.close();
   inZ.close();
 }