[
https://issues.apache.org/jira/browse/SOLR-13998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176075#comment-17176075
]
Anshum Gupta edited comment on SOLR-13998 at 8/12/20, 6:56 AM:
---------------------------------------------------------------
[~marcussorealheis] - The idea behind this came from a branch that was shared
by Mark, and while I was planning to pick a bunch of those changes to improve a
few things in Solr, I didn't get the bandwidth to continue with this effort.
The idea here is to have an option that allows to annotate classes in Solr
w.r.t. threadsafety. While retrofitting that might be tricky, it can certainly
be used for new classes. This mechanism allows other developers to rightfully
annotate classes, so others could safely consume/extend those.
I agree, in an ideal world, being able to annotate existing classes would have
been an awesome plan, and while that was the plan to some extent, it never for
there. Hopefully I'll get back to it, or someone else will and make things
better for other devs.
was (Author: anshumg):
[~marcussorealheis] - The idea behind this came from a branch that was shared
by Mark, and while I was planning to pick a bunch of those changes to improve a
few things in Solr, I didn't get the bandwidth to continue with this effort. I
think the idea here is to have an option that allows to annotate classes in
Solr w.r.t. threadsafety. While retrofitting that might be tricky, it can
certainly be used for new classes. This mechanism allows other developers to
rightfully annotate classes, so others could safely consume/extend those.
I agree, in an ideal world, being able to annotate existing classes would have
been an awesome plan, and while that was the plan to some extent, it never for
there. Hopefully I'll get back to it, or someone else will and make things
better for other devs.
> Add thread safety annotation to classes
> ---------------------------------------
>
> Key: SOLR-13998
> URL: https://issues.apache.org/jira/browse/SOLR-13998
> Project: Solr
> Issue Type: Improvement
> Reporter: Anshum Gupta
> Assignee: Anshum Gupta
> Priority: Major
> Fix For: master (9.0), 8.4
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Add annotations that can be used to mark classes as thread safe / single
> threaded in Solr.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]