[
https://issues.apache.org/jira/browse/IGNITE-16400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amelchev Nikita updated IGNITE-16400:
-------------------------------------
Release Note: Deprecated IgniteServices#service(String) and
IgniteServices#services(String). (was: Deprecated
IgniteServices#service(String) and IgniteServices#services(String). One should
use the proxies IgniteServices#serviceProxy(...).)
> Deprecate direct references to local services. Fix service proxy.
> -----------------------------------------------------------------
>
> Key: IGNITE-16400
> URL: https://issues.apache.org/jira/browse/IGNITE-16400
> Project: Ignite
> Issue Type: Sub-task
> Affects Versions: 2.12, 2.11.1
> Reporter: Vladimir Steshin
> Assignee: Vladimir Steshin
> Priority: Major
> Labels: important
> Fix For: 2.13
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> As discussed in the threads related to the main ticket #IGNITE-12464, we
> deprecate references to local services like
> {code:java}
> IgniteServices#service()
> IgniteServices#services()
> {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 in short:
> * Direct references to local services corrupt the service statistics.
> * Direct references to local services bring no real optimization.
> * `serviceProxy()` says 'proxy', '@return Proxy over service'. It should
> return a proxy and do not variate behavior. Especially depending on user-side
> settings
> 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)