public sealed class SessionPool.Statistics
Reference documentation and code samples for the Google Cloud Spanner v1 API class SessionPool.Statistics.
A snapshot of statistics for a SessionPool.
Namespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Properties
PerDatabaseStatistics
[Obsolete("Use PerSegmentStatistics instead. Both properties return the same data, but the PerSegmentStatistics name better represents the fact that sessions are pooled based on aspects other than database name.")]
public IReadOnlyList<SessionPool.DatabaseStatistics> PerDatabaseStatistics { get; }
The statistics broken down by SessionPool.SessionPoolSegmentKey. This is never null, but may be empty.
Property Value | |
---|---|
Type | Description |
IReadOnlyListSessionPoolDatabaseStatistics |
PerSegmentStatistics
public IReadOnlyList<SessionPool.SessionPoolSegmentStatistics> PerSegmentStatistics { get; }
The statistics broken down by SessionPool.SessionPoolSegmentKey. This is never null, but may be empty.
Property Value | |
---|---|
Type | Description |
IReadOnlyListSessionPoolSessionPoolSegmentStatistics |
TotalActiveSessionCount
public int TotalActiveSessionCount { get; }
The total of ActiveSessionCount values across all databases in the pool.
Property Value | |
---|---|
Type | Description |
int |
TotalInFlightCreationCount
public int TotalInFlightCreationCount { get; }
The total of InFlightCreationCount values across all databases in the pool.
Property Value | |
---|---|
Type | Description |
int |
TotalPendingAcquisitionCount
public int TotalPendingAcquisitionCount { get; }
The total of PendingAcquisitionCount values across all databases in the pool.
Property Value | |
---|---|
Type | Description |
int |
TotalPoolCount
public int TotalPoolCount { get; }
The total of PoolCount values across all databases in the pool.
Property Value | |
---|---|
Type | Description |
int |