QueueBalancerBase
class
Namespace: Orleans.Streams
Base class for StreamQueueBalancer
public abstract class QueueBalancerBase : IStreamQueueBalancerConstructors
QueueBalancerBase(IServiceProvider, ILogger)Initializes a new instance of theQueueBalancerBaseclass.
Properties
CancellationGets the cancellation token which is signaled when this balancer shuts down.LoggerGets the logger.SiloAddressGets the address of the local silo.
Methods
GetMyQueuesRetrieves the latest queue distribution for this balancer.Initialize(IStreamQueueMapper)Initializes this instance.NotifyListenersNotifies subscribers that the queue distribution has changed.OnClusterMembershipChange(HashSet<SiloAddress>)Handles a change to the set of active silos.ShutdownShutdown the queue balancer.SubscribeToQueueDistributionChangeEvents(IStreamQueueBalanceListener)Subscribes to receive queue distribution change notificationsUnSubscribeFromQueueDistributionChangeEvents(IStreamQueueBalanceListener)Unsubscribes from receiving queue distribution notifications.
