Record Class ModelCommitBatchingClient.ModelCommitCompletion
java.lang.Object
java.lang.Record
io.fluxzero.sdk.persisting.eventsourcing.client.ModelCommitBatchingClient.ModelCommitCompletion
- Record Components:
value- opaque context owned by the model execution pipelineprocessor- processor shared by requests that may be completed together
- Enclosing interface:
ModelCommitBatchingClient
public static record ModelCommitBatchingClient.ModelCommitCompletion(Object value, ModelCommitBatchingClient.ModelCommitResultProcessor processor)
extends Record
Request-owned context for completing model commits in the transport result batch that contains them.
-
Constructor Summary
ConstructorsConstructorDescriptionModelCommitCompletion(Object value, ModelCommitBatchingClient.ModelCommitResultProcessor processor) Creates an instance of aModelCommitCompletionrecord class. -
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.Returns the value of theprocessorrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
ModelCommitCompletion
public ModelCommitCompletion(Object value, ModelCommitBatchingClient.ModelCommitResultProcessor processor) Creates an instance of aModelCommitCompletionrecord class.
-
-
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). -
value
-
processor
-