You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Julia Bakulina (Jira)" <ji...@apache.org> on 2022/12/14 12:16:00 UTC

[jira] [Commented] (IGNITE-18348) Change deprecated Ignite.active() to IgniteCluster.active() while Ignite.active(boolean active) to Ignite.cluster().state()

    [ https://issues.apache.org/jira/browse/IGNITE-18348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647064#comment-17647064 ] 

Julia Bakulina commented on IGNITE-18348:
-----------------------------------------

during IGNITE-17373 it became obvious that Ignite.active() is massively used while being deprecated since 2018

> Change deprecated Ignite.active() to IgniteCluster.active() while Ignite.active(boolean active) to Ignite.cluster().state()
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-18348
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18348
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Julia Bakulina
>            Assignee: Julia Bakulina
>            Priority: Trivial
>              Labels: ise, newbie
>             Fix For: 2.15
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Ignite.active() and Ignite.active(boolean active) are deprecated since 2018.
> As per the ignite docs:
> Ignite.active() -> it is recommended to use IgniteCluster.active() instead;
> Ignite.active(boolean active) -> it is recommended to use IgniteCluster.active(boolean active) instead.
> It seems that it is time to update these deprecated methods, update the corresponding ignite docs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)