Record Class ArchiveTask.LastContainerData

java.lang.Object
java.lang.Record
de.bsvrz.ars.ars.persistence.writer.ArchiveTask.LastContainerData
Record Components:
lastADataIdx - letzter aktueller Datenindex
lastNDataIdx - letzter nachgelieferter Datenindex
lastADTime - letzte aktuelle Datenzeit
lastNDTime - letzte nachgelieferte Datenzeit
lastAATime - letzte aktuelle Archivzeit
lastNATime - letzte nachgelieferte Archivzeit
lastAContID - letzte aktuelle Container-ID
Enclosing class:
ArchiveTask

public static record ArchiveTask.LastContainerData(long lastADataIdx, long lastNDataIdx, long lastADTime, long lastNDTime, long lastAATime, long lastNATime, long lastAContID) extends Record
Sammlung von Wertebereichen der letzten Container
  • Constructor Details

    • LastContainerData

      public LastContainerData(long lastADataIdx, long lastNDataIdx, long lastADTime, long lastNDTime, long lastAATime, long lastNATime, long lastAContID)
      Creates an instance of a LastContainerData record class.
      Parameters:
      lastADataIdx - the value for the lastADataIdx record component
      lastNDataIdx - the value for the lastNDataIdx record component
      lastADTime - the value for the lastADTime record component
      lastNDTime - the value for the lastNDTime record component
      lastAATime - the value for the lastAATime record component
      lastNATime - the value for the lastNATime record component
      lastAContID - the value for the lastAContID record component
  • Method Details

    • lastDataIdx

      public long lastDataIdx()
      Gibt den letzten Datenindex (allgemein) zurück.
      Returns:
      den letzten Datenindex (allgemein)
    • lastDataTime

      public long lastDataTime()
      Gibt die letzte Datenzeit (allgemein) zurück.
      Returns:
      die letzte Datenzeit (allgemein)
    • lastIsOnline

      public boolean lastIsOnline()
      Gibt true zurück, wenn der letzte Datensatz online empfangen wurde.
      Returns:
      true, wenn der letzte Datensatz online empfangen wurde, sonst false
    • 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. All components in this record class are compared with '=='.
      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.
    • lastADataIdx

      public long lastADataIdx()
      Returns the value of the lastADataIdx record component.
      Returns:
      the value of the lastADataIdx record component
    • lastNDataIdx

      public long lastNDataIdx()
      Returns the value of the lastNDataIdx record component.
      Returns:
      the value of the lastNDataIdx record component
    • lastADTime

      public long lastADTime()
      Returns the value of the lastADTime record component.
      Returns:
      the value of the lastADTime record component
    • lastNDTime

      public long lastNDTime()
      Returns the value of the lastNDTime record component.
      Returns:
      the value of the lastNDTime record component
    • lastAATime

      public long lastAATime()
      Returns the value of the lastAATime record component.
      Returns:
      the value of the lastAATime record component
    • lastNATime

      public long lastNATime()
      Returns the value of the lastNATime record component.
      Returns:
      the value of the lastNATime record component
    • lastAContID

      public long lastAContID()
      Returns the value of the lastAContID record component.
      Returns:
      the value of the lastAContID record component