AdlsClient.GetContentSummary(String, Int32, CancellationToken) Method

Definition

Gets content summary of a file or directory. It is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.

public virtual Microsoft.Azure.DataLake.Store.ContentSummary GetContentSummary (string path, int numThreads = -1, System.Threading.CancellationToken cancelToken = default);
abstract member GetContentSummary : string * int * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.ContentSummary
override this.GetContentSummary : string * int * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.ContentSummary
Public Overridable Function GetContentSummary (path As String, Optional numThreads As Integer = -1, Optional cancelToken As CancellationToken = Nothing) As ContentSummary

Parameters

path
System.String

Path of the directory or file

numThreads
System.Int32

Number of threads

cancelToken
System.Threading.CancellationToken

CancellationToken to cancel the request

Returns

ContentSummary

Applies to