Tsz-wo Sze created RATIS-1091:
---------------------------------

             Summary: 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


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.3.4#803005)

Reply via email to