Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add missing file
  • Loading branch information
jalauzon-msft committed Dec 4, 2024
commit 54a40f3b76d59b7b04ae911264e700f6a2c77932
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure.Storage.DataMovement
{
/// <summary>
/// This class is interchangable for
/// Stage Block (Put Block), Stage Block From Uri (Put Block From URL),
/// Append Block (Append Block), Append Block From Uri (Append Block From URL),
/// Upload Page (Put Page), Upload Pages From Uri (Put Pages From URL)
///
/// Basically any transfer operation that must end in a Commit Block List
/// will end up using this internal event argument to track the success
/// and the bytes transferred to ensure the correct amount of bytes are tranferred.
/// </summary>
internal class QueueStageChunkArgs
{
public long Offset { get; }
public long BytesTransferred { get; }

public QueueStageChunkArgs(long offset, long bytesTransferred)
{
Offset = offset;
BytesTransferred = bytesTransferred;
}
}
}
Loading