Record Class FanOutRequest
java.lang.Object
java.lang.Record
org.j7m.middleware.workload.api.FanOutRequest
- Record Components:
candidates- candidate targets after discoverymaxCandidates- maximum targets to calldeadline- total deadlineperTargetTimeout- per-target timeoutmetadata- safe request metadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.Returns the value of theperTargetTimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FanOutRequest
-
-
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
-
perTargetTimeout
Returns the value of theperTargetTimeoutrecord component.- Returns:
- the value of the
perTargetTimeoutrecord component
-
metadata
-