Record Class EntryEventMessagePayload<K,V>
java.lang.Object
java.lang.Record
org.springframework.integration.hazelcast.message.EntryEventMessagePayload<K,V>
- Type Parameters:
K- the entry key typeV- the entry value type- Record Components:
key- The entry key.value- The entry value.oldValue- The entry old value if any.
-
Constructor Summary
ConstructorsConstructorDescriptionEntryEventMessagePayload(K key, @Nullable V value, @Nullable V oldValue) Creates an instance of aEntryEventMessagePayloadrecord 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.@Nullable VoldValue()Returns the value of theoldValuerecord component.final StringtoString()Returns a string representation of this record class.@Nullable Vvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
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). -
key
-
value
-
oldValue
-