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
GoogleGoogle.CloudGoogle.Cloud.SpannerV1Assembly
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 |
TotalReadPoolCount
public int TotalReadPoolCount { get; }
The total of ReadPoolCount values across all databases in the pool.
Property Value | |
---|---|
Type | Description |
int |
TotalReadWritePoolCount
public int TotalReadWritePoolCount { get; }
The total of ReadWritePoolCount values across all databases in the pool.
Property Value | |
---|---|
Type | Description |
int |