Mark Struberg created OWB-1471:
----------------------------------
Summary: Create an annotation to mark implementations as
@ThreadSafe
Key: OWB-1471
URL: https://issues.apache.org/jira/browse/OWB-1471
Project: OpenWebBeans
Issue Type: New Feature
Affects Versions: 4.1.0
Reporter: Mark Struberg
Assignee: Mark Struberg
Fix For: 4.1.1
We got some code which is now using parallel processing. But e.g. for the
xbean-finder Filter we allow users to plugin their own.
Previously those didn't need to support multiple concurrency, so we now wrap
them in a synchronisation ({{ThreadSafeUserFilter}}).
But that means that Filters which are perfectly thread-safe would be quite
slower.
To remedy we should introduce an own {{@ThreadSafe}} annotation in our spi
module.
This annotation can be used on customer Finders to mark them as thread-safe.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)