Christian Schneider created SLING-9563:
------------------------------------------
Summary: Simplify flow using InterruptedException
Key: SLING-9563
URL: https://issues.apache.org/jira/browse/SLING-9563
Project: Sling
Issue Type: Improvement
Components: Content Distribution
Affects Versions: Content Distribution Journal Core 0.1.16
Reporter: Christian Schneider
Assignee: Christian Schneider
Fix For: Content Distribution Journal Core 0.1.18
When we avoided interrupting the thread in DistributionSubscriber we made the
code more complex by adding some ifs for blockingSendStoredStatus and
blockingPeekQueueItem.
I propose to replace the ifs by throwing an InterruptedException. This way we
achieve the same result of cleanly exiting the thread while avoiding the ifs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)