Record Class ReassignmentStatistics
java.lang.Object
java.lang.Record
fr.gouv.vitam.worker.core.plugin.reassignment.ReassignmentStatistics
-
Constructor Summary
ConstructorsConstructorDescriptionReassignmentStatistics(Integer nbUnits, Integer nbObjectGroups, Set<String> initialOperations) Creates an instance of aReassignmentStatisticsrecord 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.Returns the value of theinitialOperationsrecord component.Returns the value of thenbObjectGroupsrecord component.nbUnits()Returns the value of thenbUnitsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReassignmentStatistics
public ReassignmentStatistics(Integer nbUnits, Integer nbObjectGroups, Set<String> initialOperations) Creates an instance of aReassignmentStatisticsrecord class.- Parameters:
nbUnits- the value for thenbUnitsrecord componentnbObjectGroups- the value for thenbObjectGroupsrecord componentinitialOperations- the value for theinitialOperationsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
nbUnits
Returns the value of thenbUnitsrecord component.- Returns:
- the value of the
nbUnitsrecord component
-
nbObjectGroups
Returns the value of thenbObjectGroupsrecord component.- Returns:
- the value of the
nbObjectGroupsrecord component
-
initialOperations
Returns the value of theinitialOperationsrecord component.- Returns:
- the value of the
initialOperationsrecord component
-