Interface IRoutingPlan.IRegionSlice

All Known Implementing Classes:
RoutingPlan.RegionSlice
Enclosing interface:
IRoutingPlan

public static interface IRoutingPlan.IRegionSlice
One region's slice of a routing plan.
Author:
IIZI
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the number of subscriptions in this slice bound for a device push (the recipient is offline).
    Gets the physical dispatch target for this slice — local or remote, reachable or not.
    int
    Gets the number of subscriptions in this slice bound for in-session delivery (the recipient is live).
    Gets the region this slice serves.
  • Method Details

    • getRegion

      IRegionNode getRegion()
      Gets the region this slice serves.
      Returns:
      The region node; never null.
    • getDispatchTarget

      IDispatchTarget getDispatchTarget()
      Gets the physical dispatch target for this slice — local or remote, reachable or not.
      Returns:
      The dispatch target; never null.
    • getInSessionCount

      int getInSessionCount()
      Gets the number of subscriptions in this slice bound for in-session delivery (the recipient is live).
      Returns:
      The in-session count.
    • getDeviceCount

      int getDeviceCount()
      Gets the number of subscriptions in this slice bound for a device push (the recipient is offline).
      Returns:
      The device-push count.