Compartir a través de


IParitionLoadBalancingStrategy.SelectLeasesToTake Método

Definición

Seleccione concesiones que se deben tomar para su procesamiento. Se llamará a este método periódicamente con LeaseAcquireInterval

public System.Collections.Generic.IEnumerable<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease> SelectLeasesToTake (System.Collections.Generic.IEnumerable<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease> allLeases);
abstract member SelectLeasesToTake : seq<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease> -> seq<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease>
Public Function SelectLeasesToTake (allLeases As IEnumerable(Of ILease)) As IEnumerable(Of ILease)

Parámetros

allLeases
IEnumerable<ILease>

Todas las concesiones

Devoluciones

Concesiones que este host debe tomar para su procesamiento

Se aplica a