C# Class Hangfire.SQLite.SQLiteStorage

Inheritance: JobStorage
Afficher le fichier Open project: vip32/Hangfire.SQLite Class Usage Examples

Méthodes publiques

Свойство Type Description
ActiveConnections Hangfire.Dashboard.DashboardMetric
TotalConnections Hangfire.Dashboard.DashboardMetric

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CreateAndOpenConnection ( ) : IDbConnection
InitializeQueueProviders ( ) : void
IsConnectionString ( string nameOrConnectionString ) : bool
IsConnectionStringInConfiguration ( string connectionStringName ) : bool

Method Details

GetComponents() public méthode

public GetComponents ( ) : IEnumerable
Résultat IEnumerable

GetConnection() public méthode

public GetConnection ( ) : IStorageConnection
Résultat IStorageConnection

GetMonitoringApi() public méthode

public GetMonitoringApi ( ) : IMonitoringApi
Résultat IMonitoringApi

SQLiteStorage() public méthode

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
Résultat System

SQLiteStorage() public méthode

public SQLiteStorage ( string nameOrConnectionString ) : System
nameOrConnectionString string
Résultat System

SQLiteStorage() public méthode

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
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

ActiveConnections public_oe static_oe property

public static DashboardMetric,Hangfire.Dashboard ActiveConnections
Résultat Hangfire.Dashboard.DashboardMetric

TotalConnections public_oe static_oe property

public static DashboardMetric,Hangfire.Dashboard TotalConnections
Résultat Hangfire.Dashboard.DashboardMetric