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

Stay organized with collections Save and categorize content based on your preferences.
public sealed class 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 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
IReadOnlyList<SessionPool.DatabaseStatistics>

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
IReadOnlyList<SessionPool.SessionPoolSegmentStatistics>

TotalActiveSessionCount

public int TotalActiveSessionCount { get; }

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

Property Value
TypeDescription
Int32

TotalInFlightCreationCount

public int TotalInFlightCreationCount { get; }

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

Property Value
TypeDescription
Int32

TotalPendingAcquisitionCount

public int TotalPendingAcquisitionCount { get; }

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

Property Value
TypeDescription
Int32

TotalReadPoolCount

public int TotalReadPoolCount { get; }

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

Property Value
TypeDescription
Int32

TotalReadWritePoolCount

public int TotalReadWritePoolCount { get; }

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

Property Value
TypeDescription
Int32