Record Class PartitionMaintenanceEvent
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.maintenance.PartitionMaintenanceEvent
- Record Components:
historianName- the historian store that fired the eventtableName- the maintained tablepartitionName- the partition name, for example"2026-04"kind- the maintenance operationminTimestamp- the partition's value-time floormaxTimestamp- the partition's value-time ceiling
public record PartitionMaintenanceEvent(String historianName, String tableName, String partitionName, PartitionMaintenanceEvent.Kind kind, Instant minTimestamp, Instant maxTimestamp)
extends Record
Fired by a historian after each durable partition-maintenance operation on a table. A
PartitionMaintenanceListener rebuilds the corresponding command from the event's identity
(store, table, partition, kind) and value-time bounds.
The value-time extent (maxTimestamp()) is on the event, so a listener never
re-queries the store; a destructive command is held against it.
- Since:
- 2027.02
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe kind of partition-maintenance operation. -
Constructor Summary
ConstructorsConstructorDescriptionPartitionMaintenanceEvent(String historianName, String tableName, String partitionName, PartitionMaintenanceEvent.Kind kind, Instant minTimestamp, Instant maxTimestamp) Validates the parameters. -
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.Returns the value of thehistorianNamerecord component.kind()Returns the value of thekindrecord component.Returns the value of themaxTimestamprecord component.Returns the value of theminTimestamprecord component.Returns the value of thepartitionNamerecord component.Returns the value of thetableNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PartitionMaintenanceEvent
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
historianName
Returns the value of thehistorianNamerecord component.- Returns:
- the value of the
historianNamerecord component
-
tableName
-
partitionName
Returns the value of thepartitionNamerecord component.- Returns:
- the value of the
partitionNamerecord component
-
kind
-
minTimestamp
Returns the value of theminTimestamprecord component.- Returns:
- the value of the
minTimestamprecord component
-
maxTimestamp
Returns the value of themaxTimestamprecord component.- Returns:
- the value of the
maxTimestamprecord component
-