[
https://issues.jboss.org/browse/JGRP-1620?page=com.atlassian.jira.plugin....
]
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}}
** Perhaps:
https://github.com/wburns/infinispan/blob/ISPN-6074/core/src/main/java/or...
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}}
* Remove {{NotifyingFuture}} and {{FutureListener}}: requires changing
{{ExecutionService}}
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}}
** Perhaps:
https://github.com/wburns/infinispan/blob/ISPN-6074/core/src/main/java/or...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)