Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22D5C10A12 for ; Tue, 8 Sep 2015 07:40:46 +0000 (UTC) Received: (qmail 77125 invoked by uid 500); 8 Sep 2015 07:40:46 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 77086 invoked by uid 500); 8 Sep 2015 07:40:45 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 77077 invoked by uid 500); 8 Sep 2015 07:40:45 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 77073 invoked by uid 99); 8 Sep 2015 07:40:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 07:40:45 +0000 Date: Tue, 8 Sep 2015 07:40:45 +0000 (UTC) From: "Wilder Rodrigues (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-8822) Replace Runnable by Callable in the com.cloud.utils.nio.Task class. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Wilder Rodrigues created CLOUDSTACK-8822: -------------------------------------------- Summary: Replace Runnable by Callable in the com.cloud.utils.nio.Task class. Key: CLOUDSTACK-8822 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8822 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 (v6.3.4#6332)