Skip to content

Commit

Permalink
add javadoc to PolicyAnnouncementAcknowledgementAggregatorActor
Browse files Browse the repository at this point in the history
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
  • Loading branch information
Yannic92 committed Aug 19, 2022
1 parent 0c37b98 commit 8c915ff
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
import akka.actor.AbstractActorWithTimers;
import akka.actor.Props;

/**
* Aggregates acknowledgements for a published {@link PolicyAnnouncement}
* When all acknowledgements are completed the responseConsumer will be called with an {@link Acknowledgements} in case
* there are multiple acknowledgements requested or with an {@link Acknowledgement} in case just a single acknowledgement
* was requested.
* If an error happens the responseConsumer will be called with a {@link DittoRuntimeException}.
*
* @since 3.0.0
*/
final class PolicyAnnouncementAcknowledgementAggregatorActor extends AbstractActorWithTimers {

static final String ACTOR_NAME = "policy-announcement-acknowledgement-aggregator";
Expand Down

0 comments on commit 8c915ff

Please sign in to comment.