Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Processing.MessageMonitoringTransaction
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Processing.MessageMonitoringTransaction
- Record Components:
hash
- Hash of the transaction. Present if transaction was included into the blocks. When then transaction was emulated this field will be missing.aborted
- Aborted field of the transaction.compute
- Optional information about the compute phase of the transaction.
- Enclosing class:
Processing
public static record Processing.MessageMonitoringTransaction(String hash, Boolean aborted, Processing.MessageMonitoringTransactionCompute compute)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMessageMonitoringTransaction
(String hash, Boolean aborted, Processing.MessageMonitoringTransactionCompute compute) Creates an instance of aMessageMonitoringTransaction
record class. -
Method Summary
Modifier and TypeMethodDescriptionaborted()
Returns the value of theaborted
record component.compute()
Returns the value of thecompute
record component.final boolean
Indicates whether some other object is "equal to" this one.hash()
Returns the value of thehash
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
MessageMonitoringTransaction
public MessageMonitoringTransaction(String hash, Boolean aborted, Processing.MessageMonitoringTransactionCompute compute) Creates an instance of aMessageMonitoringTransaction
record class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
hash
Returns the value of thehash
record component.- Returns:
- the value of the
hash
record component
-
aborted
Returns the value of theaborted
record component.- Returns:
- the value of the
aborted
record component
-
compute
Returns the value of thecompute
record component.- Returns:
- the value of the
compute
record component
-