[ https://issues.apache.org/jira/browse/SOLR-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley updated SOLR-423: ------------------------------- Attachment: SOLR-423-CloseHook.patch This version adds a CloseHook to SolrCore. The test now looks like: {code:java} class ClosingRequestHandler extends EmptyRequestHandler implements SolrCoreAware { boolean closed = false; public void inform(SolrCore core) { core.addCloseHook( new SolrCore.CloseHook() { public void close(SolrCore core) { closed = true; } }); } } {code} > SolrRequestHandler close notification > ------------------------------------- > > Key: SOLR-423 > URL: https://issues.apache.org/jira/browse/SOLR-423 > Project: Solr > Issue Type: Improvement > Reporter: Grant Ingersoll > Assignee: Grant Ingersoll > Priority: Minor > Attachments: SOLR-423-CloseHook.patch, SOLR-423.patch > > > It may be beneficial for implementations of SolrRequestHandler to be notified > that the SolrCore is closing so that they can release any resources that they > may have open. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.