[
https://issues.apache.org/jira/browse/IGNITE-16400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Steshin updated IGNITE-16400:
--------------------------------------
Description:
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'. It just should return proxy and change no its
behavior especially depending on user-side settings
* Too many 'give-service' methods in IgniteServices.
Also, the documentation of service metrics and limitations or local services is
going to get improved.
was:
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 services corrupt the service statistics.
* Direct https://issues.apache.org/jira/browse/IGNITE-16400#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.
> 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
> Reporter: Vladimir Steshin
> Assignee: Vladimir Steshin
> Priority: Major
>
> 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'. It just should return proxy and change no
> its behavior especially depending on user-side settings
> * Too many 'give-service' methods in IgniteServices.
> 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)