[
https://issues.apache.org/jira/browse/IGNITE-13144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Antonov updated IGNITE-13144:
------------------------------------
Description:
We have {{boolean ClusterState#active(ClusterState)}} static method. It would
be better to have an instance method {{boolean active()}}.
Also, we have ClusterState#lesserOf static method. It needs for internal
purposes. So we must move this method in an internal package.
was:We have {{boolean ClusterState#active(ClusterState)}} static method. It
would be better to have an instance method {{boolean active()}}. Also I'd like
to add methods {{boolean inactive()}} and {{boolean readOnly()}} to
{{ClusterState}} class.
> Improve ClusterState enum
> -------------------------
>
> Key: IGNITE-13144
> URL: https://issues.apache.org/jira/browse/IGNITE-13144
> Project: Ignite
> Issue Type: Improvement
> Reporter: Sergey Antonov
> Assignee: Sergey Antonov
> Priority: Major
> Fix For: 2.9
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We have {{boolean ClusterState#active(ClusterState)}} static method. It would
> be better to have an instance method {{boolean active()}}.
> Also, we have ClusterState#lesserOf static method. It needs for internal
> purposes. So we must move this method in an internal package.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)