Record Class RepositoryIndexDelta
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.replication.RepositoryIndexDelta
- Record Components:
sequence- monotonic delta sequencecoordinate- affected coordinatedigest- artifact digest after the delta
- All Implemented Interfaces:
Serializable
public record RepositoryIndexDelta(long sequence, ApplicationCoordinate coordinate, String digest)
extends Record
implements Serializable
Ordered repository index delta.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryIndexDelta(long sequence, ApplicationCoordinate coordinate, String digest) Creates a validated delta. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoordinaterecord component.digest()Returns the value of thedigestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longsequence()Returns the value of thesequencerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RepositoryIndexDelta
Creates a validated delta.
-
-
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. -
sequence
-
coordinate
Returns the value of thecoordinaterecord component.- Returns:
- the value of the
coordinaterecord component
-
digest
-