[ 
https://issues.apache.org/jira/browse/IGNITE-16399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Steshin closed IGNITE-16399.
-------------------------------------
    Ignite Flags:   (was: Release Notes Required)

> Deprecate direct references to local services. Fix service proxy.
> -----------------------------------------------------------------
>
>                 Key: IGNITE-16399
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16399
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladimir Steshin
>            Assignee: Vladimir Steshin
>            Priority: Major
>
> As discussed, we deprecate references to local services like
> {code:java}
> IgniteServices.serice()
> IgniteServices.serices()
> {code}
> and fix behavior of the proxies like
> {code:java}
> serviceProxy(String name, Class<? super T> svcItf, boolean sticky)
> {code}
> so that a proxy is given every time even for local services.
> Reasons:
> * Direct references to services corrupt the service statistics.
> * Direct references to services bring no real optimization.
> * `serviceProxy()` says 'proxy'. It just should return proxy and change no 
> its behavior especially depending on user-side settings
> * Too many 'give-service' methods.
> Also, the documentation of service metrics and limitations or local services 
> is going to get improved.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to