Interface SinkLifecycleEvent
- All Known Implementing Classes:
SinkLifecycleEvent.SinkRenamed
Sealed interface representing lifecycle events for data sinks in the store-and-forward system.
These events allow flavor-scoped sink operations, ensuring that changes to a sink in one subsystem (e.g., tag history) do not inadvertently affect pipelines in other subsystems (e.g., alarm journal or audit).
- Since:
- 8.3.4
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordEvent indicating that a sink has been renamed. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionsinkRenamed(DataSink<?> sink, String newSinkId) Creates aSinkLifecycleEvent.SinkRenamedevent by extracting the storage key and flavor from the sink.
-
Method Details
-
sinkRenamed
Creates aSinkLifecycleEvent.SinkRenamedevent by extracting the storage key and flavor from the sink.- Parameters:
sink- the sink being renamednewSinkId- the new sink identifier- Returns:
- a new SinkRenamed event
-