[jboss-jira] [JBoss JIRA] (JGRP-1620) RpcDispatcher/MessageDispatcher changes

Bela Ban (JIRA) issues at jboss.org
Thu Feb 11 10:25:00 EST 2016


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

Bela Ban updated JGRP-1620:
---------------------------
    Description: 
* In MessageDispatcher.castMessageXXX() and send(), we pass a Message as argument. Change this to only ship the byte[] buffer and options.
** This prevents a unicast RPC from having a message with a null dest, or a multicast RPC having a message with a non-null dest (JGRP-1617).
* Return null from castMessage() if the call is async, instead of a null {{RspList}}
* Investigate whether non-blocking RPCs need to create Request instances at all
* Return a {{CompletableFuture}} instead of a {{NotifyingFuture}}
* Remove {{NotifyingFuture}} and {{FutureListener}}: requires changing {{ExecutionService}}

  was:
* In MessageDispatcher.castMessageXXX() and send(), we pass a Message as argument. Change this to only ship the byte[] buffer and options.
** This prevents a unicast RPC from having a message with a null dest, or a multicast RPC having a message with a non-null dest (JGRP-1617).
* Return null from castMessage() if the call is async, instead of a null {{RspList}}
* Investigate whether non-blocking RPCs need to create Request instances at all
* Return a {{CompletableFuture}} instead of a {{NotifyingFuture}}



> RpcDispatcher/MessageDispatcher changes
> ---------------------------------------
>
>                 Key: JGRP-1620
>                 URL: https://issues.jboss.org/browse/JGRP-1620
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 4.0
>
>
> * In MessageDispatcher.castMessageXXX() and send(), we pass a Message as argument. Change this to only ship the byte[] buffer and options.
> ** This prevents a unicast RPC from having a message with a null dest, or a multicast RPC having a message with a non-null dest (JGRP-1617).
> * Return null from castMessage() if the call is async, instead of a null {{RspList}}
> * Investigate whether non-blocking RPCs need to create Request instances at all
> * Return a {{CompletableFuture}} instead of a {{NotifyingFuture}}
> * Remove {{NotifyingFuture}} and {{FutureListener}}: requires changing {{ExecutionService}}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list