Record Class AtomicController.ReferenceCasRequest
java.lang.Object
java.lang.Record
com.loomcache.springboot.controller.AtomicController.ReferenceCasRequest
- Enclosing class:
AtomicController
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceCasRequest(@Nullable String expect, @Nullable String update) Creates an instance of aReferenceCasRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable Stringexpect()Returns the value of theexpectrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@Nullable Stringupdate()Returns the value of theupdaterecord component.
-
Constructor Details
-
ReferenceCasRequest
-
-
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). -
expect
Returns the value of theexpectrecord component.- Returns:
- the value of the
expectrecord component
-
update
Returns the value of theupdaterecord component.- Returns:
- the value of the
updaterecord component
-