C# Класс Hangfire.SQLite.SQLiteStorage

Наследование: JobStorage
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ActiveConnections Hangfire.Dashboard.DashboardMetric
TotalConnections Hangfire.Dashboard.DashboardMetric

Открытые методы

Метод Описание
GetComponents ( ) : IEnumerable
GetConnection ( ) : IStorageConnection
GetMonitoringApi ( ) : IMonitoringApi
SQLiteStorage ( [ existingConnection ) : System

Initializes a new instance of the SqlServerStorage class with explicit instance of the SqlConnection class that will be used to query the data.

SQLiteStorage ( string nameOrConnectionString ) : System
SQLiteStorage ( string nameOrConnectionString, SQLiteStorageOptions options ) : System

Initializes SqlServerStorage from the provided SQLiteStorageOptions and either the provided connection string or the connection string with provided name pulled from the application config file.

ToString ( ) : string

Приватные методы

Метод Описание
CreateAndOpenConnection ( ) : IDbConnection
InitializeQueueProviders ( ) : void
IsConnectionString ( string nameOrConnectionString ) : bool
IsConnectionStringInConfiguration ( string connectionStringName ) : bool

Описание методов

GetComponents() публичный Метод

public GetComponents ( ) : IEnumerable
Результат IEnumerable

GetConnection() публичный Метод

public GetConnection ( ) : IStorageConnection
Результат IStorageConnection

GetMonitoringApi() публичный Метод

public GetMonitoringApi ( ) : IMonitoringApi
Результат IMonitoringApi

SQLiteStorage() публичный Метод

Initializes a new instance of the SqlServerStorage class with explicit instance of the SqlConnection class that will be used to query the data.
public SQLiteStorage ( [ existingConnection ) : System
existingConnection [ Existing connection
Результат System

SQLiteStorage() публичный Метод

public SQLiteStorage ( string nameOrConnectionString ) : System
nameOrConnectionString string
Результат System

SQLiteStorage() публичный Метод

Initializes SqlServerStorage from the provided SQLiteStorageOptions and either the provided connection string or the connection string with provided name pulled from the application config file.
argument is null. argument is null. argument is neither /// a valid SQL Server connection string nor the name of a connection string in the application /// config file.
public SQLiteStorage ( string nameOrConnectionString, SQLiteStorageOptions options ) : System
nameOrConnectionString string Either a SQL Server connection string or the name of /// a SQL Server connection string located in the connectionStrings node in the application config
options SQLiteStorageOptions
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

ActiveConnections публичное статическое свойство

public static DashboardMetric,Hangfire.Dashboard ActiveConnections
Результат Hangfire.Dashboard.DashboardMetric

TotalConnections публичное статическое свойство

public static DashboardMetric,Hangfire.Dashboard TotalConnections
Результат Hangfire.Dashboard.DashboardMetric