Record Class TransactionOp.MapDelete
java.lang.Object
java.lang.Record
com.loomcache.server.transaction.TransactionOp.MapDelete
- All Implemented Interfaces:
TransactionOp
- Enclosing interface:
TransactionOp
public static record TransactionOp.MapDelete(String structureName, String key)
extends Record
implements TransactionOp
Map delete operation: remove key.
- 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.key()Returns the value of thekeyrecord component.Returns the value of thestructureNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MapDelete
-
-
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
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-