Record Class FanOutResult
java.lang.Object
java.lang.Record
org.j7m.middleware.workload.api.FanOutResult
- Record Components:
successes- successful per-candidate valuesfailures- safe per-candidate failuresskippedCandidates- skipped candidate ids or endpointspartial- whether the result is partialmetadata- safe result metadata
-
Constructor Summary
ConstructorsConstructorDescriptionFanOutResult(List<Object> successes, List<TaskFailure> failures, List<String> skippedCandidates, boolean partial, Map<String, String> metadata) Creates immutable result collections. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.failures()Returns the value of thefailuresrecord component.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.booleanpartial()Returns the value of thepartialrecord component.Returns the value of theskippedCandidatesrecord component.Returns the value of thesuccessesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FanOutResult
-
-
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. -
successes
-
failures
-
skippedCandidates
Returns the value of theskippedCandidatesrecord component.- Returns:
- the value of the
skippedCandidatesrecord component
-
partial
-
metadata
-