Record Class MessagingRecoveryReport
java.lang.Object
java.lang.Record
org.j7m.middleware.api.messaging.MessagingRecoveryReport
- Record Components:
eventsReplayed- number of messaging events replayed successfullyqueuesRecovered- number of queues reconstructedmessagesRecovered- number of message records reconstructedoutboxEntriesRecovered- number of outbox entries reconstructedinboxEntriesRecovered- number of inbox entries reconstructedwarnings- safe recovery warningserrors- safe recovery errors
- All Implemented Interfaces:
Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionMessagingRecoveryReport(long eventsReplayed, long queuesRecovered, long messagesRecovered, long outboxEntriesRecovered, long inboxEntriesRecovered, List<String> warnings, List<String> errors) Creates recovery report. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.longReturns the value of theeventsReplayedrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theinboxEntriesRecoveredrecord component.longReturns the value of themessagesRecoveredrecord component.longReturns the value of theoutboxEntriesRecoveredrecord component.longReturns the value of thequeuesRecoveredrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
MessagingRecoveryReport
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
eventsReplayed
public long eventsReplayed()Returns the value of theeventsReplayedrecord component.- Returns:
- the value of the
eventsReplayedrecord component
-
queuesRecovered
public long queuesRecovered()Returns the value of thequeuesRecoveredrecord component.- Returns:
- the value of the
queuesRecoveredrecord component
-
messagesRecovered
public long messagesRecovered()Returns the value of themessagesRecoveredrecord component.- Returns:
- the value of the
messagesRecoveredrecord component
-
outboxEntriesRecovered
public long outboxEntriesRecovered()Returns the value of theoutboxEntriesRecoveredrecord component.- Returns:
- the value of the
outboxEntriesRecoveredrecord component
-
inboxEntriesRecovered
public long inboxEntriesRecovered()Returns the value of theinboxEntriesRecoveredrecord component.- Returns:
- the value of the
inboxEntriesRecoveredrecord component
-
warnings
-
errors
-