Record Class ScaleActivity.ActiveComputationNode
java.lang.Object
java.lang.Record
org.nuxeo.ecm.core.bulk.introspection.ScaleActivity.ActiveComputationNode
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ScaleActivity
public static record ScaleActivity.ActiveComputationNode(String nodeId, int threads, Instant timestamp, long count, double sum, double rate1m, double rate5m, double min, double p50, double mean, double p95, double max, double stddev)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionActiveComputationNode(String nodeId, int threads, Instant timestamp, long count, double sum, double rate1m, double rate5m, double min, double p50, double mean, double p95, double max, double stddev) Creates an instance of aActiveComputationNoderecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublemax()Returns the value of themaxrecord component.doublemean()Returns the value of themeanrecord component.doublemin()Returns the value of theminrecord component.nodeId()Returns the value of thenodeIdrecord component.doublep50()Returns the value of thep50record component.doublep95()Returns the value of thep95record component.doublerate1m()Returns the value of therate1mrecord component.doublerate5m()Returns the value of therate5mrecord component.doublestddev()Returns the value of thestddevrecord component.doublesum()Returns the value of thesumrecord component.intthreads()Returns the value of thethreadsrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActiveComputationNode
public ActiveComputationNode(String nodeId, int threads, Instant timestamp, long count, double sum, double rate1m, double rate5m, double min, double p50, double mean, double p95, double max, double stddev) Creates an instance of aActiveComputationNoderecord class.- Parameters:
nodeId- the value for thenodeIdrecord componentthreads- the value for thethreadsrecord componenttimestamp- the value for thetimestamprecord componentcount- the value for thecountrecord componentsum- the value for thesumrecord componentrate1m- the value for therate1mrecord componentrate5m- the value for therate5mrecord componentmin- the value for theminrecord componentp50- the value for thep50record componentmean- the value for themeanrecord componentp95- the value for thep95record componentmax- the value for themaxrecord componentstddev- the value for thestddevrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
nodeId
Returns the value of thenodeIdrecord component.- Returns:
- the value of the
nodeIdrecord component
-
threads
public int threads()Returns the value of thethreadsrecord component.- Returns:
- the value of the
threadsrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
count
public long count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
sum
public double sum()Returns the value of thesumrecord component.- Returns:
- the value of the
sumrecord component
-
rate1m
public double rate1m()Returns the value of therate1mrecord component.- Returns:
- the value of the
rate1mrecord component
-
rate5m
public double rate5m()Returns the value of therate5mrecord component.- Returns:
- the value of the
rate5mrecord component
-
min
public double min()Returns the value of theminrecord component.- Returns:
- the value of the
minrecord component
-
p50
public double p50()Returns the value of thep50record component.- Returns:
- the value of the
p50record component
-
mean
public double mean()Returns the value of themeanrecord component.- Returns:
- the value of the
meanrecord component
-
p95
public double p95()Returns the value of thep95record component.- Returns:
- the value of the
p95record component
-
max
public double max()Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-
stddev
public double stddev()Returns the value of thestddevrecord component.- Returns:
- the value of the
stddevrecord component
-