Record Class TransactionManager.Trace
java.lang.Object
java.lang.Record
org.jpos.transaction.TransactionManager.Trace
- Record Components:
phase- lifecycle phase tag (e.g.prepare,commit)message- free-form message, typically the participant short nameinfo- optional trailing info, rendered after the message
- Enclosing class:
TransactionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.info()Returns the value of theinforecord component.message()Returns the value of themessagerecord component.static TransactionManager.TraceCreates a trace line with no trailing info.static TransactionManager.TraceCreates a trace line with trailing info.phase()Returns the value of thephaserecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Trace
-
-
Method Details
-
toString
-
of
Creates a trace line with no trailing info.- Parameters:
phase- lifecycle phase tagmessage- free-form message- Returns:
- the assembled trace
-
of
Creates a trace line with trailing info.- Parameters:
phase- lifecycle phase tagmessage- free-form messageinfo- trailing info- Returns:
- the assembled trace
-
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 withObjects::equals(Object,Object). -
phase
-
message
-
info
-