Class NodeSessionUtilities
java.lang.Object
com.inductiveautomation.historian.gateway.api.storage.realtime.NodeSessionUtilities
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertSourceMatches
(QualifiedPath expectedSource, TemporalPoint<?, ?> temporalPoint) Validates that a temporal point's source matches the expected source.
-
Method Details
-
assertSourceMatches
public static void assertSourceMatches(QualifiedPath expectedSource, TemporalPoint<?, ?> temporalPoint) Validates that a temporal point's source matches the expected source. Throws an exception immediately if validation fails.- Parameters:
expectedSource
- The expected qualified pathtemporalPoint
- The temporal point to validate- Throws:
SourcePathMismatchException
- if the actual source doesn't match the expected sourceNullPointerException
- if temporalPoint is null
-