Package com.mxraven.admin.model
Record Class MailAnalyticsListenerBreakdown
java.lang.Object
java.lang.Record
com.mxraven.admin.model.MailAnalyticsListenerBreakdown
- Record Components:
limit- maximum ranked listeners requestedtotalEgressTasks- total egress tasks across all listenersitems- ranked listener itemsotherEgressTasks- egress tasks not covered by the returned items
public record MailAnalyticsListenerBreakdown(int limit, long totalEgressTasks, List<MailAnalyticsListenerBreakdownItem> items, long otherEgressTasks)
extends Record
Bounded listener breakdown of egress task volume for an overview interval.
-
Constructor Summary
ConstructorsConstructorDescriptionMailAnalyticsListenerBreakdown(int limit, long totalEgressTasks, List<MailAnalyticsListenerBreakdownItem> items, long otherEgressTasks) Creates an instance of aMailAnalyticsListenerBreakdownrecord 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.items()Returns the value of theitemsrecord component.intlimit()Returns the value of thelimitrecord component.longReturns the value of theotherEgressTasksrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalEgressTasksrecord component.
-
Constructor Details
-
MailAnalyticsListenerBreakdown
public MailAnalyticsListenerBreakdown(int limit, long totalEgressTasks, List<MailAnalyticsListenerBreakdownItem> items, long otherEgressTasks) Creates an instance of aMailAnalyticsListenerBreakdownrecord class.- Parameters:
limit- the value for thelimitrecord componenttotalEgressTasks- the value for thetotalEgressTasksrecord componentitems- the value for theitemsrecord componentotherEgressTasks- the value for theotherEgressTasksrecord 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 '=='. -
limit
public int limit()Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-
totalEgressTasks
public long totalEgressTasks()Returns the value of thetotalEgressTasksrecord component.- Returns:
- the value of the
totalEgressTasksrecord component
-
items
Returns the value of theitemsrecord component.- Returns:
- the value of the
itemsrecord component
-
otherEgressTasks
public long otherEgressTasks()Returns the value of theotherEgressTasksrecord component.- Returns:
- the value of the
otherEgressTasksrecord component
-