OutageLogProcessor Constructor

Creates a OutageLogProcessor using a pre-initialized OutageLog.

Definition

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