Метод | Описание | |
---|---|---|
CalculateDeltaSize ( string containerName, string blobName, string localFilePath ) : long | ||
CalculateDeltaSizeFromLocalSig ( string localSigPath, string localFilePath ) : long | ||
DefragBlob ( |
Merge smaller blocks into something at least fragmentMergeSize bytes long. Only upload at most maxUploadLimit (0 == no limit). Should this be in CommonOps? Lame... really? DEFRAG? Then again I suppose the term IS appropriate.
|
|
DefragBlob ( string filePath, long maxUploadLimitMB = 2 ) : void |
Merge smaller blocks into something at least fragmentMergeSize bytes long. Only upload at most maxUploadLimit (0 == no limit). Should this be in CommonOps? Lame... really? DEFRAG? Then again I suppose the term IS appropriate.
|
|
DefragBlob ( string containerName, string blobName, long maxUploadLimitMB = 2 ) : void |
Merge smaller blocks into something at least fragmentMergeSize bytes long. Only upload at most maxUploadLimit (0 == no limit). Should this be in CommonOps? Lame... really? DEFRAG? Then again I suppose the term IS appropriate.
|
|
DownloadBlob ( string containerName, string blobName, Stream stream, int parallelFactor = 2 ) : long | ||
DownloadBlob ( string containerName, string blobName, string localFilePath, int parallelFactor = 2 ) : long | ||
DownloadSignatureForBlob ( string container, string blobName ) : |
||
GenerateDeltaSigFromLocalResources ( string localSigPath, string localFilePath ) : |
||
GetBlockListInfo ( string containerName, string blobName ) : void | ||
UploadFile ( string containerName, string blobName, string localFilePath, int parallelFactor = 2 ) : long | ||
UploadSignatureForBlob ( string blobName, string containerName, |
Метод | Описание | |
---|---|---|
DefragSigGroup ( |
||
DownloadBytes ( string containerName, string blobName, long beginOffset, long endOffset, int parallelFactor = 2 ) : byte[] | ||
FilterUploadedBlocks ( List |
Not currently used but DONT DELETE YET!!
|
|
GenerateByteRangesOfBlobToDownload ( List |
||
GetBlobMD5 ( string containerName, string blobName ) : string | ||
GetFileMD5 ( string localFilePath ) : string | ||
PutBlockList ( string blockIdArray, string containerName, string blobName ) : void | ||
ReadBlockBlob ( ICloudBlob blobRef, Stream stream, int parallelFactor = 2 ) : void | ||
RegenerateBlob ( string containerName, string blobName, List |
||
UploadBytes ( |
||
UploadBytesParallel ( |
||
UploadDelta ( string localFilePath, |
||
WriteBytes ( long offset, int bytesRead, byte bytesToRead, Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob blob, ConcurrentBag |
Yes, copying the byte array to here. But given we'll not have many of these tasks going to parallel and each byte array is AT MOST 4M, I think I can live with the memory overhead.
|
public CalculateDeltaSize ( string containerName, string blobName, string localFilePath ) : long | ||
containerName | string | |
blobName | string | |
localFilePath | string | |
Результат | long |
public CalculateDeltaSizeFromLocalSig ( string localSigPath, string localFilePath ) : long | ||
localSigPath | string | |
localFilePath | string | |
Результат | long |
public DefragBlob ( |
||
blobSig | ||
maxUploadLimitMB | long | |
Результат | void |
public DefragBlob ( string filePath, long maxUploadLimitMB = 2 ) : void | ||
filePath | string | |
maxUploadLimitMB | long | |
Результат | void |
public DefragBlob ( string containerName, string blobName, long maxUploadLimitMB = 2 ) : void | ||
containerName | string | |
blobName | string | |
maxUploadLimitMB | long | |
Результат | void |
public DownloadBlob ( string containerName, string blobName, Stream stream, int parallelFactor = 2 ) : long | ||
containerName | string | |
blobName | string | |
stream | Stream | |
parallelFactor | int | |
Результат | long |
public DownloadBlob ( string containerName, string blobName, string localFilePath, int parallelFactor = 2 ) : long | ||
containerName | string | |
blobName | string | |
localFilePath | string | |
parallelFactor | int | |
Результат | long |
public DownloadSignatureForBlob ( string container, string blobName ) : |
||
container | string | |
blobName | string | |
Результат |
public GenerateDeltaSigFromLocalResources ( string localSigPath, string localFilePath ) : |
||
localSigPath | string | |
localFilePath | string | |
Результат |
public GetBlockListInfo ( string containerName, string blobName ) : void | ||
containerName | string | |
blobName | string | |
Результат | void |
public UploadFile ( string containerName, string blobName, string localFilePath, int parallelFactor = 2 ) : long | ||
containerName | string | |
blobName | string | |
localFilePath | string | |
parallelFactor | int | |
Результат | long |
public UploadSignatureForBlob ( string blobName, string containerName, |
||
blobName | string | |
containerName | string | |
sig | ||
Результат | void |