C# Class DotNetWorkQueue.Configuration.QueueDelay

Defines the worker thread delay behavior when no records are found to process, or if a serious transport exception has occurred.
Inheritance: IQueueDelay
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Add ( IEnumerable delays ) : void

Adds the specified delays.

Add ( System.TimeSpan delay ) : void

Adds the specified delay.

Clear ( ) : void

Clears this instance.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through the collection.

QueueDelay ( ) : System

Initializes a new instance of the QueueDelay class.

QueueDelay ( IEnumerable delays ) : System

Initializes a new instance of the QueueDelay class.

SetReadOnly ( ) : void

Marks this instance as immutable

Protected Methods

Method Description
FailIfReadOnly ( ) : void

Throws an exception if the read only flag is true.

Private Methods

Method Description
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

Method Details

Add() public method

Adds the specified delays.
public Add ( IEnumerable delays ) : void
delays IEnumerable The delays.
return void

Add() public method

Adds the specified delay.
public Add ( System.TimeSpan delay ) : void
delay System.TimeSpan The delay.
return void

Clear() public method

Clears this instance.
public Clear ( ) : void
return void

FailIfReadOnly() protected method

Throws an exception if the read only flag is true.
protected FailIfReadOnly ( ) : void
return void

GetEnumerator() public method

Returns an enumerator that iterates through the collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

QueueDelay() public method

Initializes a new instance of the QueueDelay class.
public QueueDelay ( ) : System
return System

QueueDelay() public method

Initializes a new instance of the QueueDelay class.
public QueueDelay ( IEnumerable delays ) : System
delays IEnumerable The delays.
return System

SetReadOnly() public method

Marks this instance as immutable
public SetReadOnly ( ) : void
return void