Record Class ArchiveTask.LastContainerData
java.lang.Object
java.lang.Record
de.bsvrz.ars.ars.persistence.writer.ArchiveTask.LastContainerData
- Record Components:
lastADataIdx- letzter aktueller DatenindexlastNDataIdx- letzter nachgelieferter DatenindexlastADTime- letzte aktuelle DatenzeitlastNDTime- letzte nachgelieferte DatenzeitlastAATime- letzte aktuelle ArchivzeitlastNATime- letzte nachgelieferte ArchivzeitlastAContID- 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 Summary
ConstructorsConstructorDescriptionLastContainerData(long lastADataIdx, long lastNDataIdx, long lastADTime, long lastNDTime, long lastAATime, long lastNATime, long lastAContID) Creates an instance of aLastContainerDatarecord 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.longReturns the value of thelastAATimerecord component.longReturns the value of thelastAContIDrecord component.longReturns the value of thelastADataIdxrecord component.longReturns the value of thelastADTimerecord component.longGibt den letzten Datenindex (allgemein) zurück.longGibt die letzte Datenzeit (allgemein) zurück.booleanGibttruezurück, wenn der letzte Datensatz online empfangen wurde.longReturns the value of thelastNATimerecord component.longReturns the value of thelastNDataIdxrecord component.longReturns the value of thelastNDTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LastContainerData
public LastContainerData(long lastADataIdx, long lastNDataIdx, long lastADTime, long lastNDTime, long lastAATime, long lastNATime, long lastAContID) Creates an instance of aLastContainerDatarecord class.- Parameters:
lastADataIdx- the value for thelastADataIdxrecord componentlastNDataIdx- the value for thelastNDataIdxrecord componentlastADTime- the value for thelastADTimerecord componentlastNDTime- the value for thelastNDTimerecord componentlastAATime- the value for thelastAATimerecord componentlastNATime- the value for thelastNATimerecord componentlastAContID- the value for thelastAContIDrecord 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()Gibttruezurück, wenn der letzte Datensatz online empfangen wurde.- Returns:
true, wenn der letzte Datensatz online empfangen wurde, sonstfalse
-
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. All components in this record class are compared with '=='. -
lastADataIdx
public long lastADataIdx()Returns the value of thelastADataIdxrecord component.- Returns:
- the value of the
lastADataIdxrecord component
-
lastNDataIdx
public long lastNDataIdx()Returns the value of thelastNDataIdxrecord component.- Returns:
- the value of the
lastNDataIdxrecord component
-
lastADTime
public long lastADTime()Returns the value of thelastADTimerecord component.- Returns:
- the value of the
lastADTimerecord component
-
lastNDTime
public long lastNDTime()Returns the value of thelastNDTimerecord component.- Returns:
- the value of the
lastNDTimerecord component
-
lastAATime
public long lastAATime()Returns the value of thelastAATimerecord component.- Returns:
- the value of the
lastAATimerecord component
-
lastNATime
public long lastNATime()Returns the value of thelastNATimerecord component.- Returns:
- the value of the
lastNATimerecord component
-
lastAContID
public long lastAContID()Returns the value of thelastAContIDrecord component.- Returns:
- the value of the
lastAContIDrecord component
-