Platform Symphony .NET API Reference - Version 5.0
ServiceToSlotRatio Class
NamespacesPlatform.Symphony.SoamServiceToSlotRatio
A service to slot ratio, which describes how many slots a service instance consumes.
Declaration Syntax
C#
public sealed class ServiceToSlotRatio
Members
All MembersConstructorsProperties



IconMemberDescription
ServiceToSlotRatio(UInt32, UInt32)
Constructs a ServiceToSlotRatio object.

NumberOfServices
Gets the number of services portion (the numerator) of the ServiceToSlotRatio.

NumberOfSlots
Gets the number of slots portion (the denominator) of the ServiceToSlotRatio.

Remarks
The ratio must be either 1:N or N:1, where N is a positive integer. For N:1, the maximum value of N is 10. A 1:N ratio means that 1 service instance runs on multiple slots. An N:1 ratio means that multiple service instances run on 1 slot. When specified to create a session, this ratio indicates how many slots a service instance requires in order to run tasks from this session. The ratio will be validated when the SessionCreationAttributes.ServiceToSlotRatio property is set.
Inheritance Hierarchy
Object
ServiceToSlotRatio

Assembly: Platform.Symphony.Soam.Net (Module: Platform.Symphony.Soam.Net) Version: 5.0.0.0