Skip to content

Commit eae827f

Browse files
committed
format
1 parent ffe92ea commit eae827f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Apache.IoTDB/PoolHealthMetrics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void ResetAllCounters()
4646
}
4747

4848
public int GetReconnectionFailureTally() => Volatile.Read(ref _reconnectionFailureTally);
49-
49+
5050
public int GetConfiguredMaxSize() => _configuredMaxSize;
5151
}
5252
}

src/Apache.IoTDB/Rpc/TSStatusCode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,4 @@ public static string ToString(TSStatusCode statusCode)
285285
}
286286
}
287287

288-
}
288+
}

src/Apache.IoTDB/SessionPool.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
using System.Collections.Generic;
2222
using System.IO;
2323
using System.Linq;
24+
using System.Security.Cryptography.X509Certificates;
2425
using System.Threading;
2526
using System.Threading.Tasks;
26-
using System.Security.Cryptography.X509Certificates;
2727
using Apache.IoTDB.DataStructure;
2828
using Microsoft.Extensions.Logging;
2929
using Thrift;
@@ -64,19 +64,19 @@ public partial class SessionPool : IDisposable, IPoolDiagnosticReporter
6464
private ConcurrentClientQueue _clients;
6565
private ILogger _logger;
6666
private PoolHealthMetrics _healthMetrics;
67-
67+
6868
public delegate Task<TResult> AsyncOperation<TResult>(Client client);
69-
69+
7070
/// <summary>
7171
/// Retrieves current count of idle clients ready for operations.
7272
/// </summary>
7373
public int AvailableClients => _clients?.ClientQueue.Count ?? 0;
74-
74+
7575
/// <summary>
7676
/// Retrieves the configured maximum capacity of the session pool.
7777
/// </summary>
7878
public int TotalPoolSize => _healthMetrics?.GetConfiguredMaxSize() ?? _poolSize;
79-
79+
8080
/// <summary>
8181
/// Retrieves cumulative tally of reconnection failures since pool was opened.
8282
/// </summary>

0 commit comments

Comments
 (0)