Record Class OperationalEventJournalStatus.AdmissionDiagnostics
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.OperationalEventJournalStatus.AdmissionDiagnostics
- All Implemented Interfaces:
Serializable
- Enclosing class:
OperationalEventJournalStatus
-
Constructor Summary
ConstructorsConstructorDescriptionAdmissionDiagnostics(long memoryEvents, long memoryBytes, long maxMemoryEvents, long maxMemoryBytes, long maxEventBytes, Long lastRejectedBytes, long lastRejectedAt, Map<String, Long> droppedByReason) Creates an instance of aAdmissionDiagnosticsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedroppedByReasonrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thelastRejectedAtrecord component.Returns the value of thelastRejectedBytesrecord component.longReturns the value of themaxEventBytesrecord component.longReturns the value of themaxMemoryBytesrecord component.longReturns the value of themaxMemoryEventsrecord component.longReturns the value of thememoryBytesrecord component.longReturns the value of thememoryEventsrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aAdmissionDiagnosticsrecord class.- Parameters:
memoryEvents- the value for thememoryEventsrecord componentmemoryBytes- the value for thememoryBytesrecord componentmaxMemoryEvents- the value for themaxMemoryEventsrecord componentmaxMemoryBytes- the value for themaxMemoryBytesrecord componentmaxEventBytes- the value for themaxEventBytesrecord componentlastRejectedBytes- the value for thelastRejectedBytesrecord componentlastRejectedAt- the value for thelastRejectedAtrecord componentdroppedByReason- the value for thedroppedByReasonrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
memoryEvents
public long memoryEvents()Returns the value of thememoryEventsrecord component.- Returns:
- the value of the
memoryEventsrecord component
-
memoryBytes
public long memoryBytes()Returns the value of thememoryBytesrecord component.- Returns:
- the value of the
memoryBytesrecord component
-
maxMemoryEvents
public long maxMemoryEvents()Returns the value of themaxMemoryEventsrecord component.- Returns:
- the value of the
maxMemoryEventsrecord component
-
maxMemoryBytes
public long maxMemoryBytes()Returns the value of themaxMemoryBytesrecord component.- Returns:
- the value of the
maxMemoryBytesrecord component
-
maxEventBytes
public long maxEventBytes()Returns the value of themaxEventBytesrecord component.- Returns:
- the value of the
maxEventBytesrecord component
-
lastRejectedBytes
Returns the value of thelastRejectedBytesrecord component.- Returns:
- the value of the
lastRejectedBytesrecord component
-
lastRejectedAt
public long lastRejectedAt()Returns the value of thelastRejectedAtrecord component.- Returns:
- the value of the
lastRejectedAtrecord component
-
droppedByReason
-