You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cs...@apache.org on 2020/03/28 08:56:57 UTC

[sling-org-apache-sling-distribution-journal] branch SLING-9259 updated (dab2feb -> ce619b6)

This is an automated email from the ASF dual-hosted git repository.

cschneider pushed a change to branch SLING-9259
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git.


    from dab2feb  SLING-9259 - Remove SubQueue, add factory for BookKeeper, simplify PreCondition
     add ce619b6  SLING-9259 - Provide simpler facade for BookKeeper

No new revisions were added by this update.

Summary of changes:
 .../journal/impl/queue/impl/PubQueueCache.java     |   4 +-
 .../impl/subscriber/DistributionSubscriber.java    | 139 +++++++++------------
 .../PreConditionTimeoutException.java}             |  12 +-
 .../journal/service/subscriber/BookKeeper.java     |  54 +++++---
 .../service/subscriber/BookKeeperFactory.java      |  23 ++--
 .../journal/service/subscriber/NoopMetric.java     |  99 +++++++++++++++
 .../journal/service/subscriber/SubscriberIdle.java |   7 ++
 .../service/subscriber/SubscriberMetrics.java      |  18 ++-
 .../journal/impl/subscriber/SubscriberTest.java    |  89 +++----------
 .../journal/service/subscriber/BookKeeperTest.java |  43 ++++++-
 10 files changed, 299 insertions(+), 189 deletions(-)
 copy src/main/java/org/apache/sling/distribution/journal/impl/{queue/impl/ClearCallback.java => subscriber/PreConditionTimeoutException.java} (74%)
 create mode 100644 src/main/java/org/apache/sling/distribution/journal/service/subscriber/NoopMetric.java