Record Class ManagedSagaFactory.Status
java.lang.Object
java.lang.Record
org.j7m.middleware.application.distributed.ManagedSagaFactory.Status
- Record Components:
running- whether local admission is armed and openworking- whether an actual worker is still ownedfailureCategory- last framework failure type, empty before any failure
- Enclosing class:
ManagedSagaFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailureCategoryrecord component.final inthashCode()Returns a hash code value for this object.booleanrunning()Returns the value of therunningrecord component.final StringtoString()Returns a string representation of this record class.booleanworking()Returns the value of theworkingrecord component.
-
Constructor Details
-
Status
Creates an instance of aStatusrecord class.- Parameters:
running- the value for therunningrecord componentworking- the value for theworkingrecord componentfailureCategory- the value for thefailureCategoryrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
running
-
working
-
failureCategory
Returns the value of thefailureCategoryrecord component.- Returns:
- the value of the
failureCategoryrecord component
-