Class ChangePointRegistry
java.lang.Object
com.inductiveautomation.historian.gateway.api.storage.ChangePointRegistry
Per-engine registry that maps each
ChangePointType to the handler accepting a homogeneous
batch of change points of that type. Populated once through AbstractStorageEngine.registerHandlers(ComplexPointRegistry.Builder, ChangePointRegistry.Builder) at construction; immutable afterwards.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder used inAbstractStorageEngine.registerHandlers(ComplexPointRegistry.Builder, ChangePointRegistry.Builder);ChangePointRegistry.Builder.build()produces the immutable registry. -
Method Summary
Modifier and TypeMethodDescriptionOptional<Function<List<? extends ChangePoint<?>>, StorageResult<?>>> handlerFor(ChangePointType type) Returns the handler registered fortype, or empty if none.Returns the change point types this engine can apply.
-
Method Details
-
handlerFor
public Optional<Function<List<? extends ChangePoint<?>>, StorageResult<?>>> handlerFor(ChangePointType type) Returns the handler registered fortype, or empty if none. -
supportedTypes
Returns the change point types this engine can apply.
-