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 aLastContainerData
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.long
Returns the value of thelastAATime
record component.long
Returns the value of thelastAContID
record component.long
Returns the value of thelastADataIdx
record component.long
Returns the value of thelastADTime
record component.long
Gibt den letzten Datenindex (allgemein) zurück.long
Gibt die letzte Datenzeit (allgemein) zurück.boolean
Gibttrue
zurück, wenn der letzte Datensatz online empfangen wurde.long
Returns the value of thelastNATime
record component.long
Returns the value of thelastNDataIdx
record component.long
Returns the value of thelastNDTime
record component.final String
toString()
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 aLastContainerData
record class.- Parameters:
lastADataIdx
- the value for thelastADataIdx
record componentlastNDataIdx
- the value for thelastNDataIdx
record componentlastADTime
- the value for thelastADTime
record componentlastNDTime
- the value for thelastNDTime
record componentlastAATime
- the value for thelastAATime
record componentlastNATime
- the value for thelastNATime
record componentlastAContID
- the value for thelastAContID
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()Gibttrue
zurü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 thelastADataIdx
record component.- Returns:
- the value of the
lastADataIdx
record component
-
lastNDataIdx
public long lastNDataIdx()Returns the value of thelastNDataIdx
record component.- Returns:
- the value of the
lastNDataIdx
record component
-
lastADTime
public long lastADTime()Returns the value of thelastADTime
record component.- Returns:
- the value of the
lastADTime
record component
-
lastNDTime
public long lastNDTime()Returns the value of thelastNDTime
record component.- Returns:
- the value of the
lastNDTime
record component
-
lastAATime
public long lastAATime()Returns the value of thelastAATime
record component.- Returns:
- the value of the
lastAATime
record component
-
lastNATime
public long lastNATime()Returns the value of thelastNATime
record component.- Returns:
- the value of the
lastNATime
record component
-
lastAContID
public long lastAContID()Returns the value of thelastAContID
record component.- Returns:
- the value of the
lastAContID
record component
-