pitt.search.semanticvectors
Interface CloseableVectorStore

All Superinterfaces:
VectorStore
All Known Implementing Classes:
VectorStoreReaderLucene, VectorStoreReaderText

public interface CloseableVectorStore
extends VectorStore

Some vector stores (e.g., those that read from the filesystem) claim resources that aren't automatically garbage collected or released. This can cause problems, e.g., when a new VectorStore wants access to a file that is already opened by another. Such vector stores should implement this interface to give developers a somewhat principled means of releasing these resources.

Author:
Dominic Widdows

Method Summary
 void close()
          Release all filesystem or other resources that aren't automatically garbage collected.
 
Methods inherited from interface pitt.search.semanticvectors.VectorStore
getAllVectors, getNumVectors, getVector
 

Method Detail

close

void close()
Release all filesystem or other resources that aren't automatically garbage collected.