OutageLogProcessor Constructor

Creates a OutageLogProcessor using a pre-initialized OutageLog.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
public OutageLogProcessor(
	OutageLog? outageLog,
	Action<Outage> processOutageFunction,
	Func<Outage, bool> canProcessOutageFunction,
	Action<Exception> processExceptionHandler,
	int processingInterval
)

Parameters

outageLog  OutageLog
Pre-initialized OutageLog to process.
processOutageFunction  ActionOutage
A delegate that defines a processing function for an Outage.
canProcessOutageFunction  FuncOutage, Boolean
A delegate that determines if an Outage can currently be processed.
processExceptionHandler  ActionException
Delegate to handle any exceptions encountered while processing as Outage.
processingInterval  Int32
Processing interval, in milliseconds.

See Also