프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CanProcessDataGap | bool | ||
Common_ProcessException | void | ||
Common_StatusMessage | void | ||
DataStreamMonitor_Elapsed | void | ||
GetLoggingPath | string | ||
ProcessDataGap | void | ||
TemporalSubscription_ConnectionEstablished | void | ||
TemporalSubscription_ConnectionTerminated | void | ||
TemporalSubscription_NewMeasurements | void | ||
TemporalSubscription_ProcessingComplete | void |
메소드 | 설명 | |
---|---|---|
DataGapRecoverer ( ) : System |
Creates a new DataGapRecoverer.
|
|
Dispose ( ) : void |
Releases all the resources used by the DataGapRecoverer object.
|
|
FlushLog ( int timeout = Timeout.Infinite ) : bool |
Blocks calling thread until data gap OutageLog has been flushed to disk. Data gap log is automatically persisted to disk as Outage items are added or removed from the log. This function only exists to force a flush and block calling thread until flush has completed. Function first waits for any pending data gap operation to complete then waits for data gap log to be flushed. Both waits use the same timeout value, as a result it is possible that total wait time could be longer than specified wait time. |
|
FlushLogAsync ( ) : void |
Queues up a flush to happen asynchronously.
|
|
Initialize ( ) : void |
Initializes the DataGapRecoverer.
|
|
LogDataGap ( DateTimeOffset startTime, DateTimeOffset endTime ) : bool |
Logs a new data gap for processing. Data gap will not be logged for processing if the startTime and endTime do not represent a valid time span for recovery according to MinimumRecoverySpan and MaximumRecoverySpan. |
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the DataGapRecoverer object and optionally releases the managed resources.
|
|
OnProcessException ( MessageLevel level, |
Raises the ProcessException event. |
|
OnRecoveredMeasurements ( ICollection |
Raises the RecoveredMeasurements event.
|
|
OnStatusMessage ( MessageLevel level, string status, string eventName = null, MessageFlags flags = MessageFlags.None ) : void |
Raises the StatusMessage event and sends this data to the Logger. |
메소드 | 설명 | |
---|---|---|
CanProcessDataGap ( Outage dataGap ) : bool | ||
Common_ProcessException ( object sender, EventArgs |
||
Common_StatusMessage ( object sender, EventArgs |
||
DataStreamMonitor_Elapsed ( object sender, EventArgs |
||
GetLoggingPath ( string filePath ) : string | ||
ProcessDataGap ( Outage dataGap ) : void | ||
TemporalSubscription_ConnectionEstablished ( object sender, |
||
TemporalSubscription_ConnectionTerminated ( object sender, |
||
TemporalSubscription_NewMeasurements ( object sender, EventArgs |
||
TemporalSubscription_ProcessingComplete ( object sender, EventArgs |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
리턴 | void |
public FlushLog ( int timeout = Timeout.Infinite ) : bool | ||
timeout | int | Optional time-out for waiting thread block. Defaults to waiting indefinitely. |
리턴 | bool |
public LogDataGap ( DateTimeOffset startTime, DateTimeOffset endTime ) : bool | ||
startTime | DateTimeOffset | Start time of data gap. |
endTime | DateTimeOffset | End time of data gap. |
리턴 | bool |
protected OnProcessException ( MessageLevel level, |
||
level | MessageLevel | The |
exception | Processing |
|
eventName | string | A fixed string to classify this event; defaults to |
flags | MessageFlags | |
리턴 | void |
protected OnRecoveredMeasurements ( ICollection |
||
measurements | ICollection |
|
리턴 | void |
protected OnStatusMessage ( MessageLevel level, string status, string eventName = null, MessageFlags flags = MessageFlags.None ) : void | ||
level | MessageLevel | The |
status | string | New status message. |
eventName | string | A fixed string to classify this event; defaults to |
flags | MessageFlags | |
리턴 | void |