sashapolo commented on a change in pull request #244:
URL: https://github.com/apache/ignite-3/pull/244#discussion_r678363101



##########
File path: 
modules/configuration-api/src/main/java/org/apache/ignite/configuration/notifications/ConfigurationNamedListListener.java
##########
@@ -34,6 +34,18 @@
      */
     @NotNull CompletableFuture<?> 
onCreate(ConfigurationNotificationEvent<VIEW> ctx);
 
+    /**
+     * Called when named list element is renamed. Semantically equivalent to
+     * {@link #onUpdate(ConfigurationNotificationEvent)} with the only 
difference that the content of the element might
+     * not be changed. No separate {@link 
#onUpdate(ConfigurationNotificationEvent)} call is be performed when
+     *
+     * @param oldName Named, previously assigned to the element.
+     * @param newName New name of the element.
+     * @param ctx Notification context.
+     * @return Future that signifies end of listener execution.
+     */
+    @NotNull CompletableFuture<?> onRename(String oldName, String newName, 
ConfigurationNotificationEvent<VIEW> ctx);

Review comment:
       there are no rules yet =)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to