ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Izhikov <nizhi...@apache.org>
Subject Re: Internal classes are exposed in public API
Date Thu, 30 Jan 2020 17:53:59 GMT

I answered to your examples and issues you provide.
But, it seems the discussion of the API and the Java code itself is not the goal of this thread

> Should we provide a way to know the number of metrics and registries in advance? 

If you think this is the real use-as let’s add `size` methods.
It will be the simple API *extension*.

> There is no separation on public and internal metrics

Any metric can be changed(removed) in any time.
But we will try not to do it unless we have a strong reason.

> Will we allow users to register their own metrics? 


> It's still not clear how a user will map old interfaces and methods to the new metric

We should write this information in the deprecation message.

> 30 янв. 2020 г., в 20:27, Alexey Goncharuk <alexey.goncharuk@gmail.com> написал(а):
> Nikita,
> Disagree here. I already gave an example in this thread of how you need to
> peek into configuration in order to obtain an instance of exporter SPI
> which may not necessarily be the type you need. That's why IGNITE-12553 was
> created in the first place.

View raw message