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 TypeMethodDescriptionintGets 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.intGets 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
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.