Record Class HostPasswordRotationStore.LegacyDrainProgress
java.lang.Object
java.lang.Record
ecmwf.common.database.HostPasswordRotationStore.LegacyDrainProgress
- All Implemented Interfaces:
Serializable
- Enclosing class:
HostPasswordRotationStore
public static record HostPasswordRotationStore.LegacyDrainProgress(int routes, int freshReceipts, int sessions, int unresolvedAdmissions)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyDrainProgress(int routes, int freshReceipts, int sessions, int unresolvedAdmissions) Creates an instance of aLegacyDrainProgressrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefreshReceiptsrecord component.final inthashCode()Returns a hash code value for this object.booleanready()introutes()Returns the value of theroutesrecord component.intsessions()Returns the value of thesessionsrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theunresolvedAdmissionsrecord component.
-
Constructor Details
-
LegacyDrainProgress
public LegacyDrainProgress(int routes, int freshReceipts, int sessions, int unresolvedAdmissions) Creates an instance of aLegacyDrainProgressrecord class.- Parameters:
routes- the value for theroutesrecord componentfreshReceipts- the value for thefreshReceiptsrecord componentsessions- the value for thesessionsrecord componentunresolvedAdmissions- the value for theunresolvedAdmissionsrecord component
-
-
Method Details
-
ready
public boolean ready() -
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 with thecomparemethod from their corresponding wrapper classes. -
routes
public int routes()Returns the value of theroutesrecord component.- Returns:
- the value of the
routesrecord component
-
freshReceipts
public int freshReceipts()Returns the value of thefreshReceiptsrecord component.- Returns:
- the value of the
freshReceiptsrecord component
-
sessions
public int sessions()Returns the value of thesessionsrecord component.- Returns:
- the value of the
sessionsrecord component
-
unresolvedAdmissions
public int unresolvedAdmissions()Returns the value of theunresolvedAdmissionsrecord component.- Returns:
- the value of the
unresolvedAdmissionsrecord component
-