Record Class ProxyOptions
java.lang.Object
java.lang.Record
org.j7m.middleware.api.ProxyOptions
- Record Components:
invocationDeadline- default deadline for proxy method callsmetadata- public proxy metadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProcess-local absoluteSystem.nanoTime()deadline shared by exact-reference connection and its invocation. -
Constructor Summary
ConstructorsConstructorDescriptionProxyOptions(Duration invocationDeadline, Map<String, String> metadata) Creates immutable proxy options. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyOptionsdefaults()Returns default proxy options.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 theinvocationDeadlinerecord component.metadata()Returns the value of themetadatarecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LOCAL_DEADLINE_NANOS
Process-local absoluteSystem.nanoTime()deadline shared by exact-reference connection and its invocation. Transports must remove this value before wire dispatch; it never grants authority or increases the caller's budget. Reusable proxies omit it.- See Also:
-
-
Constructor Details
-
ProxyOptions
-
-
Method Details
-
defaults
-
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). -
invocationDeadline
Returns the value of theinvocationDeadlinerecord component.- Returns:
- the value of the
invocationDeadlinerecord component
-
metadata
-