Record Class ManagedResourceTransactionPolicy.Registration
java.lang.Object
java.lang.Record
org.j7m.middleware.application.distributed.ManagedResourceTransactionPolicy.Registration
- Record Components:
coordinator- authorized durable coordinator endpointparticipants- at most64 stable ASCII IDs mapped to distinct independent authorized groups; IDs have at most64 characterscleanupBudget- positive bounded abort/recovery cleanup duration at most30seconds
- Enclosing class:
ManagedResourceTransactionPolicy
-
Constructor Summary
ConstructorsConstructorDescriptionRegistration(org.j7m.middleware.distributed.ResourceEndpoint coordinator, Map<String, org.j7m.middleware.distributed.ResourceEndpoint> participants, Duration cleanupBudget) Copies and validates capabilities without network operations. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecleanupBudgetrecord component.org.j7m.middleware.distributed.ResourceEndpointReturns the value of thecoordinatorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparticipantsrecord component.toString()Returns only the finite participant count, never endpoint/factory diagnostics.
-
Constructor Details
-
Registration
-
-
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 withObjects::equals(Object,Object). -
coordinator
public org.j7m.middleware.distributed.ResourceEndpoint coordinator()Returns the value of thecoordinatorrecord component.- Returns:
- the value of the
coordinatorrecord component
-
participants
Returns the value of theparticipantsrecord component.- Returns:
- the value of the
participantsrecord component
-
cleanupBudget
Returns the value of thecleanupBudgetrecord component.- Returns:
- the value of the
cleanupBudgetrecord component
-