incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hama Wiki] Trivial Update of "MessageConvetions" by edwardyoon
Date Wed, 15 Jun 2011 22:35:00 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The "MessageConvetions" page has been changed by edwardyoon:
http://wiki.apache.org/hama/MessageConvetions?action=diff&rev1=1&rev2=2

  == Naming Conventions ==
  
   * The default type for a "tag" is always String.
-  * If we implement a Message that has a primitive as the data field and the tag is default,
we call the class PrimitiveMessage. E.G. BooleanMessage for boolean as data and String as
tag.
+  * If we implement a Message that has a primitive as the data field and the tag is default,
we call the class !PrimitiveMessage e.g., !BooleanMessage for boolean as data and String as
tag.
-  * If we use another type as a "tag" than String we use a combined name: TagDataMessage.
E.G. IntegerDoubleMessage for integer as a tag and double as the data.
+  * If we use another type as a "tag" than String we use a combined name: !TagDataMessage
e.g., !IntegerDoubleMessage for integer as a tag and double as the data.
  

Mime
View raw message