ข้ามไปยังเนื้อหา

Class DatabaseRuntimeSelection

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

Describes the active database runtime tuning inputs resolved for a Cephalon app.

public sealed class DatabaseRuntimeSelection

objectDatabaseRuntimeSelection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

DatabaseRuntimeSelection(bool?, bool?, bool?, int?, int?, int?, int?, int?)

Section titled “ DatabaseRuntimeSelection(bool?, bool?, bool?, int?, int?, int?, int?, int?)”

Initializes a new instance of the class.

[JsonConstructor]
public DatabaseRuntimeSelection(bool? enableDetailedErrors = null, bool? enableSensitiveDataLogging = null, bool? enableRetryOnFailure = null, int? maxRetryCount = null, int? maxRetryDelaySeconds = null, int? commandTimeoutSeconds = null, int? maxBatchSize = null, int? roleProbeFreshnessSeconds = null)

enableDetailedErrors bool?

enableSensitiveDataLogging bool?

enableRetryOnFailure bool?

maxRetryCount int?

maxRetryDelaySeconds int?

commandTimeoutSeconds int?

maxBatchSize int?

roleProbeFreshnessSeconds int?

Gets the command timeout in seconds when one was configured.

public int? CommandTimeoutSeconds { get; }

int?

Gets an empty database-runtime selection instance.

public static DatabaseRuntimeSelection Empty { get; }

DatabaseRuntimeSelection

Gets a value indicating whether detailed provider errors were explicitly selected.

public bool? EnableDetailedErrors { get; }

bool?

Gets a value indicating whether transient-failure retries were explicitly selected.

public bool? EnableRetryOnFailure { get; }

bool?

Gets a value indicating whether sensitive-data logging was explicitly selected.

public bool? EnableSensitiveDataLogging { get; }

bool?

Gets a value indicating whether any database-runtime selection inputs were explicitly supplied.

public bool HasValues { get; }

bool

Gets the maximum provider batch size when one was configured.

public int? MaxBatchSize { get; }

int?

Gets the maximum retry count when transient-failure retries were configured.

public int? MaxRetryCount { get; }

int?

Gets the maximum retry delay in seconds when transient-failure retries were configured.

public int? MaxRetryDelaySeconds { get; }

int?

Gets the freshness window in seconds for cached database-role probes when one was selected. A value of 0 disables probe-result caching.

public int? RoleProbeFreshnessSeconds { get; }

int?