Record Class OperationalEventJournalStatus.AdmissionDiagnostics

java.lang.Object
java.lang.Record
ecmwf.ecpds.master.OperationalEventJournalStatus.AdmissionDiagnostics
All Implemented Interfaces:
Serializable
Enclosing class:
OperationalEventJournalStatus

public static record OperationalEventJournalStatus.AdmissionDiagnostics(long memoryEvents, long memoryBytes, long maxMemoryEvents, long maxMemoryBytes, long maxEventBytes, Long lastRejectedBytes, long lastRejectedAt, Map<String,Long> droppedByReason) extends Record implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdmissionDiagnostics(long memoryEvents, long memoryBytes, long maxMemoryEvents, long maxMemoryBytes, long maxEventBytes, Long lastRejectedBytes, long lastRejectedAt, Map<String,Long> droppedByReason)
    Creates an instance of a AdmissionDiagnostics record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the droppedByReason record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the lastRejectedAt record component.
    Returns the value of the lastRejectedBytes record component.
    long
    Returns the value of the maxEventBytes record component.
    long
    Returns the value of the maxMemoryBytes record component.
    long
    Returns the value of the maxMemoryEvents record component.
    long
    Returns the value of the memoryBytes record component.
    long
    Returns the value of the memoryEvents record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AdmissionDiagnostics

      public AdmissionDiagnostics(long memoryEvents, long memoryBytes, long maxMemoryEvents, long maxMemoryBytes, long maxEventBytes, Long lastRejectedBytes, long lastRejectedAt, Map<String,Long> droppedByReason)
      Creates an instance of a AdmissionDiagnostics record class.
      Parameters:
      memoryEvents - the value for the memoryEvents record component
      memoryBytes - the value for the memoryBytes record component
      maxMemoryEvents - the value for the maxMemoryEvents record component
      maxMemoryBytes - the value for the maxMemoryBytes record component
      maxEventBytes - the value for the maxEventBytes record component
      lastRejectedBytes - the value for the lastRejectedBytes record component
      lastRejectedAt - the value for the lastRejectedAt record component
      droppedByReason - the value for the droppedByReason record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • memoryEvents

      public long memoryEvents()
      Returns the value of the memoryEvents record component.
      Returns:
      the value of the memoryEvents record component
    • memoryBytes

      public long memoryBytes()
      Returns the value of the memoryBytes record component.
      Returns:
      the value of the memoryBytes record component
    • maxMemoryEvents

      public long maxMemoryEvents()
      Returns the value of the maxMemoryEvents record component.
      Returns:
      the value of the maxMemoryEvents record component
    • maxMemoryBytes

      public long maxMemoryBytes()
      Returns the value of the maxMemoryBytes record component.
      Returns:
      the value of the maxMemoryBytes record component
    • maxEventBytes

      public long maxEventBytes()
      Returns the value of the maxEventBytes record component.
      Returns:
      the value of the maxEventBytes record component
    • lastRejectedBytes

      public Long lastRejectedBytes()
      Returns the value of the lastRejectedBytes record component.
      Returns:
      the value of the lastRejectedBytes record component
    • lastRejectedAt

      public long lastRejectedAt()
      Returns the value of the lastRejectedAt record component.
      Returns:
      the value of the lastRejectedAt record component
    • droppedByReason

      public Map<String,Long> droppedByReason()
      Returns the value of the droppedByReason record component.
      Returns:
      the value of the droppedByReason record component