[
https://issues.apache.org/jira/browse/RATIS-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1091.
-------------------------------
Resolution: Fixed
All the subtasks are completed. Resolving ...
> Refactor RaftClient APIs
> ------------------------
>
> Key: RATIS-1091
> URL: https://issues.apache.org/jira/browse/RATIS-1091
> Project: Ratis
> Issue Type: Improvement
> Components: client
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> The methods in RaftClient fall into different categories
> # group management: groupAdd, groupRemove, getGroupList and getGroupInfo
> # blocking methods: send, sendReadOnly, sendStaleRead and sendWatch
> # async methods: sendAsync, sendReadOnlyAsync, sendStaleReadAsync and
> sendWatchAsync
> It is better to move the related methods to its own interfaces such as
> # GroupManagementApi
> # BlockingApi
> # AsyncApi
--
This message was sent by Atlassian Jira
(v8.20.10#820010)