cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8822) Replace Runnable by Callable in the class.
Date Fri, 11 Sep 2015 12:56:47 GMT


ASF subversion and git services commented on CLOUDSTACK-8822:

Commit 68bf049106959a13f74d42b07366da6e033e3446 in cloudstack's branch refs/heads/master from
[;h=68bf049 ]

Merge pull request #805 from ekholabs/improvement/callable_CLOUDSTACK-8822

CLOUDSTACK-8822 - Replacing Runnable by CallableThat's the first part of the refactor, which
will touch the ManagedContextRunnable and all its subclasses. However, in order to reduce
impact, the first part comprises the Agent and Nio related classes (NioConnection, NioServer
and NioClient).

* All the sub-classes were also updated according to the changes in the super-classes
* Improved exception handling
* There were also code formatting changes

Changes were structural and the NioTest covered them without need to modify the unit test.

This PR is quite extensive. Please, wait for the Test Report in order to proceed with further

ping @remibergsma @miguelaferreira @bhaisaab @karuturi @wido @DaanHoogland @borisroman @K0zka


* pr/805:
  CLOUDSTACK-8822 - Replacing Runnable by Callable in the Taks and NioConnection classes

Signed-off-by: wilderrodrigues <>

> Replace Runnable by Callable in the class.
> -------------------------------------------------------------------
>                 Key: CLOUDSTACK-8822
>                 URL:
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Wilder Rodrigues
>            Assignee: Wilder Rodrigues
>             Fix For: 4.6.0
> The current implementation of the Task abstract class swallows all the exceptions - everything
extending Throwable - with only a WARN message.
> The best way to do that is by implementing Callable, which returns a value and also has
a "throws Exception" in the call(0 method signature.
> This work will be structural, changing the hierarchy of Task and also its subclasses.

This message was sent by Atlassian JIRA

View raw message