Rename project, namespaces and class names Signed-off-by: Pavel Gross <p.gross@yadro.com>
18 lines
708 B
C#
18 lines
708 B
C#
namespace FrostFS.SDK.Client;
|
|
|
|
// values for healthy status of clientStatusMonitor.
|
|
public enum HealthyStatus
|
|
{
|
|
// statusUnhealthyOnDial is set when dialing to the endpoint is failed,
|
|
// so there is no connection to the endpoint, and pool should not close it
|
|
// before re-establishing connection once again.
|
|
UnhealthyOnDial,
|
|
|
|
// statusUnhealthyOnRequest is set when communication after dialing to the
|
|
// endpoint is failed due to immediate or accumulated errors, connection is
|
|
// available and pool should close it before re-establishing connection once again.
|
|
UnhealthyOnRequest,
|
|
|
|
// statusHealthy is set when connection is ready to be used by the pool.
|
|
Healthy
|
|
}
|