[
https://issues.apache.org/jira/browse/SOLR-6954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward updated SOLR-6954:
--------------------------------
Attachment: SOLR-6954.patch
Patch making SolrClient implement Closeable, and making shutdown() a deprecated
concrete method that delegates to close(). Also cuts over all tests to use
close() (and try-with-resources where possible).
> Considering changing SolrClient#shutdown to SolrClient#close.
> -------------------------------------------------------------
>
> Key: SOLR-6954
> URL: https://issues.apache.org/jira/browse/SOLR-6954
> Project: Solr
> Issue Type: Improvement
> Reporter: Mark Miller
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-6954.patch
>
>
> SolrClient#shutdown is not as odd as SolrServer#shutdown, but as we want
> users to release these objects, close is more standard and if we implement
> Closeable, tools help point out leaks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]