OutageLogProcessor Constructor

Creates a OutageLogProcessor using a pre-initialized OutageLog.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.186 -- Release Build+f3c68cd1a13b4f341e0d0fc1ddec1eb68d3eeb61
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