Skip to content

Commit b60ebad

Browse files
committed
Comment update
1 parent e73955c commit b60ebad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/data-model-providers/codegen/ServerClusterInterfaceRegistry.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ class ServerClusterInterfaceRegistry
8484
/// Return the interface registered for the given cluster path or nullptr if one does not exist
8585
ServerClusterInterface * Get(const ConcreteClusterPath & path);
8686

87-
/// ClustersList is valid as a snapshot only and should not be saved.
87+
/// Provides a list of clusters that are registered for the given endpoint.
88+
///
89+
/// As ClustersList points inside the internal registrations of the registry,
90+
/// the list is only valid as long as the registry is not modified.
8891
ClustersList ClustersOnEndpoint(EndpointId endpointId);
8992

9093
/// Unregister all registrations for the given endpoint.

0 commit comments

Comments
 (0)