Record Class TransactionOpCode.WireOperation
java.lang.Object
java.lang.Record
com.loomcache.common.protocol.TransactionOpCode.WireOperation
- Record Components:
opCode- one of theMAP_*,SET_*,QUEUE_*, orMULTIMAP_*constantsstructureName- logical target structurekey- primary key / member / element payloadvalue- optional value payload; empty string when absent on the wire
- Enclosing class:
TransactionOpCode
-
Constructor Summary
ConstructorsConstructorDescriptionWireOperation(byte opCode, String structureName, String key, String value) Creates an instance of aWireOperationrecord 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.key()Returns the value of thekeyrecord component.byteopCode()Returns the value of theopCoderecord component.Returns the value of thestructureNamerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
WireOperation
Creates an instance of aWireOperationrecord class.- Parameters:
opCode- the value for theopCoderecord componentstructureName- the value for thestructureNamerecord componentkey- the value for thekeyrecord componentvalue- the value for thevaluerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
opCode
-
structureName
Returns the value of thestructureNamerecord component.- Returns:
- the value of the
structureNamerecord component
-
key
-
value
-