Record Class ManagedOutboxFactory.Status
java.lang.Object
java.lang.Record
org.j7m.middleware.application.distributed.ManagedOutboxFactory.Status
- Record Components:
bindings- number of bound lifecycle ownersadmitted- number of committed local ownersworking- actual SQL/send/mark operation still ownedconfirmed- count of native sends confirmed and SQL-marked by this host- whether the last completed run failed
- Enclosing class:
ManagedOutboxFactory
public static record ManagedOutboxFactory.Status(int bindings, int admitted, boolean working, long confirmed, boolean unavailable)
extends Record
Safe aggregate relay status, without SQL values, payload or exception messages.
-
Constructor Summary
ConstructorsConstructorDescriptionStatus(int bindings, int admitted, boolean working, long confirmed, boolean unavailable) Creates an instance of aStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintadmitted()Returns the value of theadmittedrecord component.intbindings()Returns the value of thebindingsrecord component.longReturns the value of theconfirmedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theunavailablerecord component.booleanworking()Returns the value of theworkingrecord component.
-
Constructor Details
-
Status
public Status(int bindings, int admitted, boolean working, long confirmed, boolean unavailable) Creates an instance of aStatusrecord class.- Parameters:
bindings- the value for thebindingsrecord componentadmitted- the value for theadmittedrecord componentworking- the value for theworkingrecord componentconfirmed- the value for theconfirmedrecord componentunavailable- the value for theunavailablerecord component
-
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
bindings
-
admitted
-
working
-
confirmed
-