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

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

TotalReadPoolCount

public int TotalReadPoolCount { get; }

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

Property Value
TypeDescription
int

TotalReadWritePoolCount

public int TotalReadWritePoolCount { get; }

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

Property Value
TypeDescription
int