Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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