Record Class ScatterGatherRequest
java.lang.Object
java.lang.Record
org.j7m.middleware.workload.api.ScatterGatherRequest
- Record Components:
candidates- candidate targets after discoverymaxCandidates- maximum targets to querydeadline- total deadlineallowPartialResults- whether partial results may be returnedmetadata- safe request metadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theallowPartialResultsrecord component.Returns the value of thecandidatesrecord component.deadline()Returns the value of thedeadlinerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxCandidatesrecord component.metadata()Returns the value of themetadatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScatterGatherRequest
-
-
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. -
candidates
Returns the value of thecandidatesrecord component.- Returns:
- the value of the
candidatesrecord component
-
maxCandidates
public int maxCandidates()Returns the value of themaxCandidatesrecord component.- Returns:
- the value of the
maxCandidatesrecord component
-
deadline
-
allowPartialResults
public boolean allowPartialResults()Returns the value of theallowPartialResultsrecord component.- Returns:
- the value of the
allowPartialResultsrecord component
-
metadata
-