C# Класс DotNetWorkQueue.Transport.Redis.Basic.RedisQueueInit

Adds redis implementations to the Ioc Container
Наследование: DotNetWorkQueue.Configuration.TransportInitDuplex
Показать файл Открыть проект

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

Метод Описание
RegisterImplementations ( IContainer container, RegistrationTypes registrationType, string connection, string queue ) : void

Allows a transport to register its dependencies in the IoC container.

SetDefaultsIfNeeded ( IContainer container, RegistrationTypes registrationType, ConnectionTypes connectionType ) : void

Allows the transport to set default configuration settings or other values

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

Метод Описание
DefaultQueueDelay ( ) : IEnumerable

Gets the default queue delay time spans

ExceptionDelay ( ) : IEnumerable

Gets the default fatal exception delay time spans

SetupHeartBeat ( IContainer container ) : void

Setup the heart beat.

SetupMessageExpiration ( IContainer container ) : void

Setup the message expiration.

SetupScripts ( IContainer container ) : void

Pre-compiles all LUA scripts

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

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

Allows a transport to register its dependencies in the IoC container.
public RegisterImplementations ( IContainer container, RegistrationTypes registrationType, string connection, string queue ) : void
container IContainer The container.
registrationType RegistrationTypes Type of the registration.
connection string The connection.
queue string The queue.
Результат void

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

Allows the transport to set default configuration settings or other values
public SetDefaultsIfNeeded ( IContainer container, RegistrationTypes registrationType, ConnectionTypes connectionType ) : void
container IContainer The container.
registrationType RegistrationTypes Type of the registration.
connectionType ConnectionTypes Type of the connection.
Результат void