Record Class TransactionOp.QueuePoll
java.lang.Object
java.lang.Record
com.loomcache.server.transaction.TransactionOp.QueuePoll
- All Implemented Interfaces:
TransactionOp
- Enclosing interface:
TransactionOp
public static record TransactionOp.QueuePoll(String structureName)
extends Record
implements TransactionOp
Queue poll operation: remove from front of 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
Constructors -
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.Returns the value of thestructureNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueuePoll
Creates an instance of aQueuePollrecord class.- Parameters:
structureName- the value for thestructureNamerecord 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). -
structureName
Returns the value of thestructureNamerecord component.- Specified by:
structureNamein interfaceTransactionOp- Returns:
- the value of the
structureNamerecord component
-