Record Class KafkaPCLCacheEntry
java.lang.Object
java.lang.Record
net.bluemind.exchange.mapi.api.KafkaPCLCacheEntry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechangekeySizerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theglobalCounterrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themodificationNanosrecord component.Returns the value of thereplicaGuidrecord component.Returns the value of theserverReplicaGuidrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
KafkaPCLCacheEntry
public KafkaPCLCacheEntry(String replicaGuid, Long globalCounter, Long modificationNanos, UUID serverReplicaGuid, Long version, Integer changekeySize) Creates an instance of aKafkaPCLCacheEntryrecord class.- Parameters:
replicaGuid- the value for thereplicaGuidrecord componentglobalCounter- the value for theglobalCounterrecord componentmodificationNanos- the value for themodificationNanosrecord componentserverReplicaGuid- the value for theserverReplicaGuidrecord componentversion- the value for theversionrecord componentchangekeySize- the value for thechangekeySizerecord 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). -
replicaGuid
Returns the value of thereplicaGuidrecord component.- Returns:
- the value of the
replicaGuidrecord component
-
globalCounter
Returns the value of theglobalCounterrecord component.- Returns:
- the value of the
globalCounterrecord component
-
modificationNanos
Returns the value of themodificationNanosrecord component.- Returns:
- the value of the
modificationNanosrecord component
-
serverReplicaGuid
Returns the value of theserverReplicaGuidrecord component.- Returns:
- the value of the
serverReplicaGuidrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
changekeySize
Returns the value of thechangekeySizerecord component.- Returns:
- the value of the
changekeySizerecord component
-