[
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.
We introduced new compute requests for getting/change cluster state from the
client node as internal classes of GridClusterStateProcessor. We should move
them to separate public classes for maintainability purposes.
was:
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.
We introduced new compute requests for getting/change cluster state from the
client node as internal classes of GridClusterStateProcessor. We should move
them to separate public classes for the maintainability purposes.
> Improve ClusterState enum and other minor improvements for the cluster
> read-only mode.
> --------------------------------------------------------------------------------------
>
> 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.
> We introduced new compute requests for getting/change cluster state from the
> client node as internal classes of GridClusterStateProcessor. We should move
> them to separate public classes for maintainability purposes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)