Terrier IR Platform
2.2.1

uk.ac.gla.terrier.structures
Interface Closeable

All Known Implementing Classes:
BlockDirectIndex, BlockDirectIndexInputStream, BlockDirectInvertedOutputStream, BlockInvertedIndex, BlockInvertedIndexInputStream, BlockLexicon, BlockLexiconInputStream, BlockLexiconOutputStream, DirectIndex, DirectIndexInputStream, DirectInvertedOutputStream, DocIndexEncodedHash, DocumentIndex, DocumentIndexEncoded, DocumentIndexInMemory, FileRunIterator, HadoopRunPostingIterator, Index, InvertedIndex, InvertedIndexInputStream, Lexicon, LexiconInputStream, LexiconOutputStream, RunIterator, UTFBlockLexicon, UTFBlockLexiconInputStream, UTFBlockLexiconOutputStream, UTFLexicon, UTFLexiconInputStream, UTFLexiconOutputStream

public interface Closeable

Marks an index structure class that can be closed. This interface differs from that in java.io in that this method does not throw an IOException. It is used by the Index object to ensure that all data structures are closed, to prevent file handles and the like leaking.

Since:
2.0
Version:
$Revision: 1.4 $
Author:
Craig Macdonald

Method Summary
 void close()
          close this index data structure
 

Method Detail

close

void close()
close this index data structure


Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow