[#25] Client: Implement Patch and Range methods
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
36
src/FrostFS.SDK.ClientV2/Pool/InitParameters.cs
Normal file
36
src/FrostFS.SDK.ClientV2/Pool/InitParameters.cs
Normal file
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
using Grpc.Net.Client;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace FrostFS.SDK.ClientV2;
|
||||
|
||||
// InitParameters contains values used to initialize connection Pool.
|
||||
public class InitParameters
|
||||
{
|
||||
public ECDsa? Key { get; set; }
|
||||
|
||||
public ulong NodeDialTimeout { get; set; }
|
||||
|
||||
public ulong NodeStreamTimeout { get; set; }
|
||||
|
||||
public ulong HealthcheckTimeout { get; set; }
|
||||
|
||||
public ulong ClientRebalanceInterval { get; set; }
|
||||
|
||||
public ulong SessionExpirationDuration { get; set; }
|
||||
|
||||
public uint ErrorThreshold { get; set; }
|
||||
|
||||
public NodeParam[]? NodeParams { get; set; }
|
||||
|
||||
public GrpcChannelOptions[]? DialOptions { get; set; }
|
||||
|
||||
public Func<string, ClientWrapper>? ClientBuilder { get; set; }
|
||||
|
||||
public ulong GracefulCloseOnSwitchTimeout { get; set; }
|
||||
|
||||
public ILogger? Logger { get; set; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue