[#25] Client: Implement Patch and Range methods
All checks were successful
DCO / DCO (pull_request) Successful in 47s
All checks were successful
DCO / DCO (pull_request) Successful in 47s
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
bff8d67867
commit
003b7fdfdd
51 changed files with 1338 additions and 137 deletions
|
@ -1,19 +0,0 @@
|
|||
namespace FrostFS.SDK.ClientV2;
|
||||
|
||||
public class MethodStatus(string name)
|
||||
{
|
||||
private readonly object _lock = new();
|
||||
|
||||
public string Name { get; } = name;
|
||||
|
||||
public StatusSnapshot Snapshot { get; set; } = new StatusSnapshot();
|
||||
|
||||
internal void IncRequests(ulong elapsed)
|
||||
{
|
||||
lock (_lock)
|
||||
{
|
||||
Snapshot.AllTime += elapsed;
|
||||
Snapshot.AllRequests++;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue