Google Cloud Spanner v1 API - Class SessionPool.Statistics (5.0.0-beta01)

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.

Inheritance

object > SessionPool.Statistics

Namespace

Google.Cloud.Spanner.V1

Assembly

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
TypeDescription
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
TypeDescription
IReadOnlyListSessionPoolSessionPoolSegmentStatistics

TotalActiveSessionCount

public int TotalActiveSessionCount { get; }

The total of ActiveSessionCount values across all databases in the pool.

Property Value
TypeDescription
int

TotalInFlightCreationCount

public int TotalInFlightCreationCount { get; }

The total of InFlightCreationCount values across all databases in the pool.

Property Value
TypeDescription
int

TotalPendingAcquisitionCount

public int TotalPendingAcquisitionCount { get; }

The total of PendingAcquisitionCount values across all databases in the pool.

Property Value
TypeDescription
int

TotalPoolCount

public int TotalPoolCount { get; }

The total of PoolCount values across all databases in the pool.

Property Value
TypeDescription
int