Package ai.pipestream.api.events
Class ServiceListUpdatedEvent
java.lang.Object
ai.pipestream.api.events.ServiceListUpdatedEvent
A CDI event that is fired when the list of registered pipeline services changes.
This event serves as a decoupling mechanism between the service that manages
registrations (e.g., from Consul) and any components that need to validate
against the list of available services.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServiceListUpdatedEvent
Constructs a new event.- Parameters:
serviceNames- The complete, updated set of registered service names. The provided set should be immutable or a defensive copy.
-
-
Method Details
-
getServiceNames
- Returns:
- The complete set of registered service names.
-