エクスポート (0) 印刷
すべて展開
EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

CloudBlobClient.ParallelOperationThreadCount Property

Updated: April 24, 2011

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Gets or sets the number of blocks that may be simultaneously uploaded when uploading a blob that is greater than the value specified by the SingleBlobUploadThresholdInBytes property.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

'使用
Dim instance As CloudBlobClient
Dim value As Integer

value = instance.ParallelOperationThreadCount

instance.ParallelOperationThreadCount = value

public int ParallelOperationThreadCount { get; set; }

Property Value

Type: System.Int32

The number of block upload operations that may proceed in parallel, up to the maximum of 64.

When you upload a blob that is greater than the value specified by the SingleBlobUploadThresholdInBytes property, it is automatically divided into blocks that are uploaded individually and assembled into the complete blob by the service. The ParallelOperationThreadCount property specifies how many blocks may be uploaded simultaneously.

The default value of the ParallelOperationThreadCount property is the minimum number of asynchronous I/O threads created on demand by the system thread pool.

The value of ParallelOperationThreadCount applies per logical operation, so if you are performing two operations, you will have up to the value of ParallelOperationThreadCount threads for each operation. The total number of threads available is limited by the number of threads available in the system thread pool.

Note that there is no benefit to setting this value to a number higher than the number of blocks that are being uploaded.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

 

表示:
© 2014 Microsoft