Record Class Tm1Properties.Timeouts
java.lang.Object
java.lang.Record
io.skipcheck.tm1.spring.boot.autoconfigure.Tm1Properties.Timeouts
- Record Components:
connect- how long to wait for a connection, including TLSlogin- how long to wait for a login responserequest- how long a request may go without receiving dataclose- how long to wait for TM1 to close a sessionrefusedLogin- how long a login TM1 refused is remembered before trying again
- Enclosing class:
Tm1Properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Durationclose()Returns the value of thecloserecord component.@Nullable Durationconnect()Returns the value of theconnectrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Durationlogin()Returns the value of theloginrecord component.@Nullable DurationReturns the value of therefusedLoginrecord component.@Nullable Durationrequest()Returns the value of therequestrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Timeouts
public Timeouts(@Nullable Duration connect, @Nullable Duration login, @Nullable Duration request, @Nullable Duration close, @Nullable Duration refusedLogin) Creates an instance of aTimeoutsrecord class.- Parameters:
connect- the value for theconnectrecord componentlogin- the value for theloginrecord componentrequest- the value for therequestrecord componentclose- the value for thecloserecord componentrefusedLogin- the value for therefusedLoginrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
connect
-
login
-
request
-
close
-
refusedLogin
Returns the value of therefusedLoginrecord component.- Returns:
- the value of the
refusedLoginrecord component
-