Record Class ExportOptions
java.lang.Object
java.lang.Record
org.j7m.middleware.api.ExportOptions
- Record Components:
localOnly- whether the object should remain local and skip registry bindingtransportId- requested transport identifierregistryContext- registry context overrideinterfaces- additional exposed interface namesmetadata- public metadata and query parametersleaseDuration- registry lease duration for global exportsheartbeatInterval- heartbeat interval for global exports
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExportOptionsdefaults()Returns default global gRPC export 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 theheartbeatIntervalrecord component.Returns the value of theinterfacesrecord component.Returns the value of theleaseDurationrecord component.booleanReturns the value of thelocalOnlyrecord component.static ExportOptionsReturns local-only options.metadata()Returns the value of themetadatarecord component.Returns the value of theregistryContextrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportIdrecord component.
-
Constructor Details
-
ExportOptions
-
-
Method Details
-
defaults
Returns default global gRPC export options.- Returns:
- default options
-
localOnlyOptions
Returns local-only options.- Returns:
- local-only options
-
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. -
localOnly
-
transportId
Returns the value of thetransportIdrecord component.- Returns:
- the value of the
transportIdrecord component
-
registryContext
Returns the value of theregistryContextrecord component.- Returns:
- the value of the
registryContextrecord component
-
interfaces
Returns the value of theinterfacesrecord component.- Returns:
- the value of the
interfacesrecord component
-
metadata
-
leaseDuration
Returns the value of theleaseDurationrecord component.- Returns:
- the value of the
leaseDurationrecord component
-
heartbeatInterval
Returns the value of theheartbeatIntervalrecord component.- Returns:
- the value of the
heartbeatIntervalrecord component
-