[CONTROLLER-742] Change RPC actor calls to async Created: 27/Aug/14 Updated: 05/Sep/14 Resolved: 05/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tom Pantelis | Assignee: | Tom Pantelis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 1637 |
| Description |
|
Currently the the RemoteRpcImplementation and RpcBroker classes make blocking RPC calls. These can be made async. RemoteRpcImplementation#executeMsg returns a ListenableFuture so we can return a SettableFuture and set it’s result async via an OnComplete callback on the scala Future. Similar in RpcBroker. |