Merge pull request #1549 from shapeblue/nio-fixagain-singlepr CLOUDSTACK-9348: NioConnection improvementsReopened PR with squashed changes for a re-review and testing after https://github.com/apache/cloudstack/pull/1493 and sub-sequent PRs got reverted
* pr/1549: CLOUDSTACK-9348: NioConnection improvements Signed-off-by: Will Stevens <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/570b676b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/570b676b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/570b676b Branch: refs/heads/4.9-bountycastle-daan Commit: 570b676b1fd9bb932825e43f1844e147b1ddf7f6 Parents: cb55624 9c75186 Author: Will Stevens <[email protected]> Authored: Fri May 20 11:20:48 2016 -0400 Committer: Will Stevens <[email protected]> Committed: Fri May 20 11:20:49 2016 -0400 ---------------------------------------------------------------------- .../manager/ClusteredAgentManagerImpl.java | 9 +- .../src/main/java/com/cloud/utils/nio/Link.java | 297 ++++++++++++------- .../java/com/cloud/utils/nio/NioClient.java | 31 +- .../java/com/cloud/utils/nio/NioConnection.java | 86 +++--- .../java/com/cloud/utils/nio/NioServer.java | 6 +- .../java/com/cloud/utils/testcase/NioTest.java | 249 ++++++++++------ 6 files changed, 408 insertions(+), 270 deletions(-) ----------------------------------------------------------------------
