org.apache.solr.core
Interface CloseHook


public interface CloseHook

Interface to request notification when the core is closed.

Call SolrCore.addCloseHook(org.apache.solr.core.CloseHook) during the SolrCoreAware.inform(SolrCore) method to add a close hook to your object.

The close hook can be useful for releasing objects related to the request handler (for instance, if you have a JDBC DataSource or something like that)


Method Summary
 void close(SolrCore core)
           
 

Method Detail

close

void close(SolrCore core)


Copyright © 2008 Apache Software Foundation. All Rights Reserved.