You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Bessonov (Jira)" <ji...@apache.org> on 2023/04/02 06:25:00 UTC
[jira] [Created] (IGNITE-19181) ConfigurationNotificationEvent API is confusing
Ivan Bessonov created IGNITE-19181:
--------------------------------------
Summary: ConfigurationNotificationEvent API is confusing
Key: IGNITE-19181
URL: https://issues.apache.org/jira/browse/IGNITE-19181
Project: Ignite
Issue Type: Improvement
Reporter: Ivan Bessonov
Assignee: Ivan Bessonov
Method `config` returns `*Configuration` class, which is no in line with the rest of the methods. `name` returns new name, unless it's a delete event, in that case it returns an old name. And it's not documented.
I suggest using `*View` classes in the API, and split `name` into 2 methods, for old and new names.
This will also allow to make `onRename` method simpler.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)