C# Class DotNetWorkQueue.Transport.Redis.Basic.RedisQueueInit

Adds redis implementations to the Ioc Container
Inheritance: DotNetWorkQueue.Configuration.TransportInitDuplex
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

RegisterImplementations() public method

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.
return void

SetDefaultsIfNeeded() public method

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.
return void