Class FailoverEvent
Signalisiert einen Wechsel des DVDV2-Servers.
Implements
Inherited Members
Namespace: Dvdv.Impl.Broker.Dto
Assembly: Dvdv.dll
Syntax
[ExcludeFromCodeCoverage]
public class FailoverEvent : IFailoverEvent
Constructors
| Edit this page View SourceFailoverEvent(EventType, Uri, DateTime, DVDVIOException)
Standardkonstruktor
Declaration
public FailoverEvent(EventType eventType, Uri baseUrl, DateTime nextRecoverAttemptInUtc, DVDVIOException exception)
Parameters
| Type | Name | Description |
|---|---|---|
| EventType | eventType | Typ des Events: Failed, FailedOver, Recovered |
| Uri | baseUrl | Basis-URL des aktiven DVDV2-Servers, für das -Event die Basis-URL des bisherigen DVDV-Servers
|
| DateTime | nextRecoverAttemptInUtc | Zeitpunkt in UTC für den nächsten Recovery-Versuch nach einem -Event
|
| DVDVIOException | exception | Ursächlicher Fehler für ein -Event, ansonsten null
|
Properties
| Edit this page View SourceBaseUrl
Ermitteln der Basis-URL des aktiven DVDV2-Servers, für das
OnFailed-Event die Basis-URL des bisherigen DVDV-Servers
Declaration
public Uri BaseUrl { get; }
Property Value
| Type | Description |
|---|---|
| Uri |
EventType
Ermitteln des Eventtypen: Failed, FailedOver, Recovered
Declaration
public EventType EventType { get; }
Property Value
| Type | Description |
|---|---|
| EventType |
Exception
Liefert für
OnFailed-Events den ursächlichen Fehler, ansonsten null
Declaration
public DVDVIOException Exception { get; }
Property Value
| Type | Description |
|---|---|
| DVDVIOException |
NextRecoverAttemptInUtc
Ermitteln des Zeitpunktes in UTC für den nächsten Recovery-Versuch nach einem
OnFailedOver-Event
Declaration
public DateTime NextRecoverAttemptInUtc { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |