[
https://issues.apache.org/jira/browse/SOLR-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546434
]
Hoss Man commented on SOLR-423:
-------------------------------
i was thinking the same thing about #1 but that got me thinking that instead of
SolrCoreAware having a close method, SolrCore could have an
"addCloseHook(CloseHook) method which SolrCoreAware request handlers could call
as part their inform() method.
That then got me thinking that instead of a CloseHook we should probably have a
generic "closeCore" event type ... users could configure explicit
SolrEventListeners in the solrconfig.xml, and plugins could use the internal
methods to add implicit event listeners that they need.
> 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.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.