다음을 통해 공유


FabricClient.QueryClient.GetLoadedPartitionInfoListAsync Method

Definition

Overloads

GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription)

Gets top/least loaded partitions.

GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription, TimeSpan, CancellationToken)

Gets top/least loaded partitions.

GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription)

Gets top/least loaded partitions.

public System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList> GetLoadedPartitionInfoListAsync (System.Fabric.Description.LoadedPartitionInformationQueryDescription queryDescription);
member this.GetLoadedPartitionInfoListAsync : System.Fabric.Description.LoadedPartitionInformationQueryDescription -> System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList>
Public Function GetLoadedPartitionInfoListAsync (queryDescription As LoadedPartitionInformationQueryDescription) As Task(Of LoadedPartitionInformationResultList)

Parameters

queryDescription
LoadedPartitionInformationQueryDescription

Describes the query to get top/least loaded partitions.

Returns

A task that represents the asynchronous query operation.

The returned task contains the information of top/least loaded partitions as LoadedPartitionInformationResultList.

Exceptions

Applies to

GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription, TimeSpan, CancellationToken)

Gets top/least loaded partitions.

public System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList> GetLoadedPartitionInfoListAsync (System.Fabric.Description.LoadedPartitionInformationQueryDescription queryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetLoadedPartitionInfoListAsync : System.Fabric.Description.LoadedPartitionInformationQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList>
Public Function GetLoadedPartitionInfoListAsync (queryDescription As LoadedPartitionInformationQueryDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of LoadedPartitionInformationResultList)

Parameters

queryDescription
LoadedPartitionInformationQueryDescription

Describes the query to get top/least loaded partitions.

timeout
TimeSpan

Specifies the duration this operation has to complete before timing out.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

A task that represents the asynchronous query operation.

The returned task contains the information of top/least loaded partitions as LoadedPartitionInformationResultList.

Exceptions

Applies to