You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/01/10 17:11:34 UTC
[jira] [Commented] (SOLR-6954) Considering changing
SolrClient#shutdown to SolrClient#close.
[ https://issues.apache.org/jira/browse/SOLR-6954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272566#comment-14272566 ]
Mark Miller commented on SOLR-6954:
-----------------------------------
Of course we can leave shutdown for now and deprecate if we want to allow a slow path.
> 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org