You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/08/05 17:40:00 UTC
[jira] [Resolved] (RATIS-1091) Refactor RaftClient APIs
[ 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)