This is an automated email from the ASF dual-hosted git repository.
critas pushed a commit to branch feature/dotnet-format-ci
in repository https://gitbox.apache.org/repos/asf/iotdb-client-csharp.git
The following commit(s) were added to refs/heads/feature/dotnet-format-ci by
this push:
new eae827f format
eae827f is described below
commit eae827f54bf2c7eccd8967025be68dd10dd833d3
Author: CritasWang <[email protected]>
AuthorDate: Fri Feb 6 15:14:19 2026 +0800
format
---
src/Apache.IoTDB/PoolHealthMetrics.cs | 2 +-
src/Apache.IoTDB/Rpc/TSStatusCode.cs | 2 +-
src/Apache.IoTDB/SessionPool.cs | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/Apache.IoTDB/PoolHealthMetrics.cs
b/src/Apache.IoTDB/PoolHealthMetrics.cs
index 938766c..52bcc5f 100644
--- a/src/Apache.IoTDB/PoolHealthMetrics.cs
+++ b/src/Apache.IoTDB/PoolHealthMetrics.cs
@@ -46,7 +46,7 @@ namespace Apache.IoTDB
}
public int GetReconnectionFailureTally() => Volatile.Read(ref
_reconnectionFailureTally);
-
+
public int GetConfiguredMaxSize() => _configuredMaxSize;
}
}
diff --git a/src/Apache.IoTDB/Rpc/TSStatusCode.cs
b/src/Apache.IoTDB/Rpc/TSStatusCode.cs
index e2eaca8..3f6cee9 100644
--- a/src/Apache.IoTDB/Rpc/TSStatusCode.cs
+++ b/src/Apache.IoTDB/Rpc/TSStatusCode.cs
@@ -285,4 +285,4 @@ namespace Apache.IoTDB
}
}
-}
\ No newline at end of file
+}
diff --git a/src/Apache.IoTDB/SessionPool.cs b/src/Apache.IoTDB/SessionPool.cs
index 60c8645..1d2aecf 100644
--- a/src/Apache.IoTDB/SessionPool.cs
+++ b/src/Apache.IoTDB/SessionPool.cs
@@ -21,9 +21,9 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
+using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
-using System.Security.Cryptography.X509Certificates;
using Apache.IoTDB.DataStructure;
using Microsoft.Extensions.Logging;
using Thrift;
@@ -64,19 +64,19 @@ namespace Apache.IoTDB
private ConcurrentClientQueue _clients;
private ILogger _logger;
private PoolHealthMetrics _healthMetrics;
-
+
public delegate Task<TResult> AsyncOperation<TResult>(Client client);
-
+
/// <summary>
/// Retrieves current count of idle clients ready for operations.
/// </summary>
public int AvailableClients => _clients?.ClientQueue.Count ?? 0;
-
+
/// <summary>
/// Retrieves the configured maximum capacity of the session pool.
/// </summary>
public int TotalPoolSize => _healthMetrics?.GetConfiguredMaxSize() ??
_poolSize;
-
+
/// <summary>
/// Retrieves cumulative tally of reconnection failures since pool was
opened.
/// </summary>