Record Class TransactionController.BeginRequest
java.lang.Object
java.lang.Record
com.loomcache.springboot.controller.TransactionController.BeginRequest
- Enclosing class:
TransactionController
-
Constructor Summary
ConstructorsConstructorDescriptionBeginRequest(@Min(value=1L,message="timeoutMillis must be >= 1") @Max(value=600000L,message="timeoutMillis must be <= 600000") @Nullable Long timeoutMillis) Creates an instance of aBeginRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Min(value=1L,message="timeoutMillis must be >= 1") @Max(value=600000L,message="timeoutMillis must be <= 600000") @Nullable LongReturns the value of thetimeoutMillisrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BeginRequest
public BeginRequest(@Min(value=1L,message="timeoutMillis must be >= 1") @Max(value=600000L,message="timeoutMillis must be <= 600000") @Min(value=1L,message="timeoutMillis must be >= 1") @Max(value=600000L,message="timeoutMillis must be <= 600000") @Nullable Long timeoutMillis) Creates an instance of aBeginRequestrecord class.- Parameters:
timeoutMillis- the value for thetimeoutMillisrecord 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). -
timeoutMillis
@Min(value=1L, message="timeoutMillis must be >= 1") @Max(value=600000L, message="timeoutMillis must be <= 600000") public @Min(value=1L,message="timeoutMillis must be >= 1") @Max(value=600000L,message="timeoutMillis must be <= 600000") @Nullable Long timeoutMillis()Returns the value of thetimeoutMillisrecord component.- Returns:
- the value of the
timeoutMillisrecord component
-