Class AbstractJVMRecord

java.lang.Object
kieker.common.record.AbstractMonitoringRecord
kieker.common.record.jvm.AbstractJVMRecord
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IMonitoringRecord>, IMonitoringRecord
Direct Known Subclasses:
ClassLoadingRecord, CompilationRecord, GCRecord, MemoryRecord, ThreadsStatusRecord, UptimeRecord

public abstract class AbstractJVMRecord
extends AbstractMonitoringRecord
Since:
1.10
Author:
Nils Christian Ehmke API compatibility: Kieker 1.15.0
See Also:
Serialized Form
  • Field Details

  • Constructor Details

  • Method Details

    • equals

      public boolean equals​(java.lang.Object obj)

      Performs a null-check, a this-check, and a class-check. Moreover, it checks each attribute for equality.

      Overrides:
      equals in class AbstractMonitoringRecord
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractMonitoringRecord
    • getTimestamp

      public final long getTimestamp()
    • getHostname

      public final java.lang.String getHostname()
    • getVmName

      public final java.lang.String getVmName()
    • toString

      public java.lang.String toString()
      Creates a string representation of this record.

      This method should not be used for serialization purposes since this is not the purpose of Object's toString method.
      Specified by:
      toString in interface IMonitoringRecord
      Overrides:
      toString in class java.lang.Object
      Returns:
      A (human readable) string of this record.