incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Jungblut (Created) (JIRA)" <>
Subject [jira] [Created] (HAMA-502) Message API Improvement
Date Sat, 04 Feb 2012 14:15:53 GMT
Message API Improvement

                 Key: HAMA-502
             Project: Hama
          Issue Type: Improvement
          Components: bsp
    Affects Versions: 0.4.0
            Reporter: Thomas Jungblut
             Fix For: 0.5.0

Accordingly what we have discussed on the mailing list, we want to switch the API from the
restricted BSPMessage type to <? extends Writable>.
So send is going to look like this:

bq. public final void send(String peerName, <? extends Writable> msg)

And receive:

bq. public final <? extends Writable> getCurrentMessage()

There should be no backward compatibility issues because BSPMessage is currently a "child"
of Writable.

All the related class are:

Interface: BSPPeer, MessageManager
Class: BSPPeerImpl, HadoopMessageManagerImpl

Maybe other class like BSPMessageBundle must be widened to use <? extends Writable>.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message