Interface PushResult

All Known Implementing Classes:
PushResultImpl

public interface PushResult
The aggregate result of a send — the audit record and the ServerAdmin UI's data source in one object.

A result carries the routing plan that was executed and the per-outcome tally across every subscription the filter matched. Because the subsystem records an outcome for every match — delivered, excluded, unauthorized, unresolved, unreachable, stale — the tallies sum to the matched count with nothing silent, which is what makes the result certifiable as "this send touched these regions and no others".

Author:
IIZI
  • Method Details

    • getRoutingPlan

      IRoutingPlan getRoutingPlan()
      Gets the routing plan that was executed.
      Returns:
      The routing plan; never null.
    • getOutcomeCounts

      Map<DeliveryOutcome, Integer> getOutcomeCounts()
      Gets the count of subscriptions per DeliveryOutcome. The values sum to IRoutingPlan.getMatchedCount(); every matched subscription is in exactly one bucket.
      Returns:
      An unmodifiable map from outcome to count; never null.
    • getDeliveredCount

      int getDeliveredCount()
      Gets the count of subscriptions delivered by any tier — the sum of the DeliveryOutcome.DELIVERED_IN_SESSION and DeliveryOutcome.DELIVERED buckets. A convenience over getOutcomeCounts().
      Returns:
      The delivered count.
    • isFullyDelivered

      boolean isFullyDelivered()
      Reports whether every matched, in-scope, deliverable subscription was delivered — i.e. no bucket other than the two delivered outcomes and the deliberate exclusions is non-empty. A send with spooled or unreachable targets is not fully delivered, and the operator should expect a later replay.
      Returns:
      true if nothing was left undelivered for a recoverable reason.