edu.mit.jwi.data
Interface IClosable

All Known Subinterfaces:
ICachingDictionary, ICachingDictionary.IItemCache, IDataProvider, IDataSource<T>, IDataSourceDictionary, IDictionary, IHasLifecycle, ILoadableDataSource<T>, IRAMDictionary
All Known Implementing Classes:
BinarySearchWordnetFile, CachingDictionary, CachingDictionary.ItemCache, DataSourceDictionary, Dictionary, DirectAccessWordnetFile, FileProvider, RAMDictionary, WordnetFile

public interface IClosable

An object that can be closed. What 'closing' means is implementation specific.

Since:
JWI 2.2.0
Version:
2.4.0
Author:
Mark A. Finlayson

Method Summary
 void close()
          This closes the object by disposing of data backing objects or connections.
 

Method Detail

close

void close()
This closes the object by disposing of data backing objects or connections. If the object is already closed, or in the process of closing, this method does nothing (although, if the object is in the process of closing, it may block until closing is complete).

Since:
JWI 2.2.0


Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.