Record Class EstateInventory.TypeStats
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateInventory.TypeStats
- Record Components:
read- resources returned by the APIinScope- resources kept after scopingpages- pages (requests) usedmillis- time spenttruncated- whether the per-type ceiling stopped the read early
- Enclosing class:
EstateInventory
public static record EstateInventory.TypeStats(int read, int inScope, int pages, long millis, boolean truncated)
extends Record
Collection figures for one resource type.
-
Constructor Summary
ConstructorsConstructorDescriptionTypeStats(int read, int inScope, int pages, long millis, boolean truncated) Creates an instance of aTypeStatsrecord 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.intinScope()Returns the value of theinScoperecord component.longmillis()Returns the value of themillisrecord component.intpages()Returns the value of thepagesrecord component.intread()Returns the value of thereadrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetruncatedrecord component.
-
Constructor Details
-
TypeStats
public TypeStats(int read, int inScope, int pages, long millis, boolean truncated) Creates an instance of aTypeStatsrecord class.
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
read
-
inScope
-
pages
-
millis
-
truncated
-