You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2019/04/13 08:49:00 UTC
[jira] [Created] (SOLR-13400) Replace Obeservable pattern in
TransientSolrCoreCache
Uwe Schindler created SOLR-13400:
------------------------------------
Summary: Replace Obeservable pattern in TransientSolrCoreCache
Key: SOLR-13400
URL: https://issues.apache.org/jira/browse/SOLR-13400
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: Server, SolrCloud
Affects Versions: 8.0, master (9.0)
Reporter: Uwe Schindler
Due to change to Java 11 as minimum version (LUCENE-8738), the usage of the old java.utilObservable pattern is deprecated and cannot be used anymore in Lucene/Solr.
LUCENE-8738 added a rewritten, more type-safe oimplementation of the observer pattern, but it looks like the is overengenieered. As there is only one listener registered, it would be enough to just call the method on SolrCores class (pkg-protected). On LUCENE-8738, Erick suggested to move the callback method to queue closes of core in CoreContainer instead, so all the abstractions can be removed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org