[jboss-jira] [JBoss JIRA] Updated: (JGRP-1007) Flush: change signature of JChannel#startFlush to include checked exception

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Tue Jun 21 14:55:24 EDT 2011


     [ https://issues.jboss.org/browse/JGRP-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Blagojevic updated JGRP-1007:
--------------------------------------

    Git Pull Request: https://github.com/belaban/JGroups/pull/18


> Flush: change signature of JChannel#startFlush to include checked exception
> ---------------------------------------------------------------------------
>
>                 Key: JGRP-1007
>                 URL: https://issues.jboss.org/browse/JGRP-1007
>             Project: JGroups
>          Issue Type: Task
>    Affects Versions: 2.6, 2.8
>            Reporter: Vladimir Blagojevic
>            Assignee: Vladimir Blagojevic
>             Fix For: 3.0
>
>
> We have to change signature of startFlush method to include checked exceptions in its signature. We have previously relied on boolean return value of startFlush to get information about success of startFlush method invocation. This approach has been proven to be insufficient, particularly in the light of dealing with [JGRP-985]. We need to discriminate various reasons why startFlush failed, i.e due flush collision, missing response from flush member and so on. Therefore, starting with release 3.0 startFlush method will be void and will throw checked exceptions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list