Record Class TransactionOp.QueueOffer
java.lang.Object
java.lang.Record
com.loomcache.server.transaction.TransactionOp.QueueOffer
- All Implemented Interfaces:
TransactionOp
- Enclosing interface:
TransactionOp
public static record TransactionOp.QueueOffer(String structureName, String element)
extends Record
implements TransactionOp
Queue offer operation: append to queue.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface TransactionOp
TransactionOp.MapDelete, TransactionOp.MapPut, TransactionOp.MapPutIfAbsent, TransactionOp.MultiMapPut, TransactionOp.MultiMapRemove, TransactionOp.QueueOffer, TransactionOp.QueuePoll, TransactionOp.SetAdd, TransactionOp.SetRemove -
Constructor Summary
ConstructorsConstructorDescriptionQueueOffer(String structureName, String element) Creates an instance of aQueueOfferrecord class. -
Method Summary
Modifier and TypeMethodDescriptionelement()Returns the value of theelementrecord component.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 thestructureNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueueOffer
-
-
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). -
structureName
Returns the value of thestructureNamerecord component.- Specified by:
structureNamein interfaceTransactionOp- Returns:
- the value of the
structureNamerecord component
-
element
Returns the value of theelementrecord component.- Returns:
- the value of the
elementrecord component
-