You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2011/06/02 06:04:33 UTC
svn commit: r1130398 [8/30] - in
/incubator/hama/site/publish/docs/r0.2.0/api: ./ org/ org/apache/
org/apache/hama/ org/apache/hama/bsp/ org/apache/hama/bsp/class-use/
org/apache/hama/class-use/ org/apache/hama/ipc/
org/apache/hama/ipc/class-use/ org/a...
Added: incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPMessage.html
URL: http://svn.apache.org/viewvc/incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPMessage.html?rev=1130398&view=auto
==============================================================================
--- incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPMessage.html (added)
+++ incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPMessage.html Thu Jun 2 04:04:29 2011
@@ -0,0 +1,414 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_21) on Thu Jun 02 11:38:31 KST 2011 -->
+<TITLE>
+BSPMessage (Hama 0.2.0 API)
+</TITLE>
+
+<META NAME="date" CONTENT="2011-06-02">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="BSPMessage (Hama 0.2.0 API)";
+ }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BSPMessage.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/hama/bsp/BSPMaster.State.html" title="enum in org.apache.hama.bsp"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeer.html" title="class in org.apache.hama.bsp"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/hama/bsp/BSPMessage.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BSPMessage.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.hama.bsp</FONT>
+<BR>
+Class BSPMessage</H2>
+<PRE>
+<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hama.bsp.BSPMessage</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>org.apache.hadoop.io.Writable</DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>BSPMessage</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements org.apache.hadoop.io.Writable</DL>
+</PRE>
+
+<P>
+BSPMessage consists of the tag and the arbitrary amount of data to be
+ communicated.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#data">data</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#tag">tag</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#BSPMessage()">BSPMessage</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#BSPMessage(byte[], byte[])">BSPMessage</A></B>(byte[] tag,
+ byte[] data)</CODE>
+
+<BR>
+ Constructor</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#getData()">getData</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#getTag()">getTag</A></B>()</CODE>
+
+<BR>
+ BSP messages are typically identified with tags.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#readFields(java.io.DataInput)">readFields</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPMessage.html#write(java.io.DataOutput)">write</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://downloa
d.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="tag"><!-- --></A><H3>
+tag</H3>
+<PRE>
+protected byte[] <B>tag</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="data"><!-- --></A><H3>
+data</H3>
+<PRE>
+protected byte[] <B>data</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="BSPMessage()"><!-- --></A><H3>
+BSPMessage</H3>
+<PRE>
+public <B>BSPMessage</B>()</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="BSPMessage(byte[], byte[])"><!-- --></A><H3>
+BSPMessage</H3>
+<PRE>
+public <B>BSPMessage</B>(byte[] tag,
+ byte[] data)</PRE>
+<DL>
+<DD>Constructor
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>tag</CODE> - of data<DD><CODE>data</CODE> - of message</DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getTag()"><!-- --></A><H3>
+getTag</H3>
+<PRE>
+public byte[] <B>getTag</B>()</PRE>
+<DL>
+<DD>BSP messages are typically identified with tags. This allows to get the tag
+ of data.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>tag of data of BSP message</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getData()"><!-- --></A><H3>
+getData</H3>
+<PRE>
+public byte[] <B>getData</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>data of BSP message</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="readFields(java.io.DataInput)"><!-- --></A><H3>
+readFields</H3>
+<PRE>
+public void <B>readFields</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE>readFields</CODE> in interface <CODE>org.apache.hadoop.io.Writable</CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="write(java.io.DataOutput)"><!-- --></A><H3>
+write</H3>
+<PRE>
+public void <B>write</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE>write</CODE> in interface <CODE>org.apache.hadoop.io.Writable</CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BSPMessage.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/hama/bsp/BSPMaster.State.html" title="enum in org.apache.hama.bsp"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeer.html" title="class in org.apache.hama.bsp"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/hama/bsp/BSPMessage.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BSPMessage.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2011 The Apache Software Foundation
+</BODY>
+</HTML>
Added: incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeer.html
URL: http://svn.apache.org/viewvc/incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeer.html?rev=1130398&view=auto
==============================================================================
--- incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeer.html (added)
+++ incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeer.html Thu Jun 2 04:04:29 2011
@@ -0,0 +1,900 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_21) on Thu Jun 02 11:38:31 KST 2011 -->
+<TITLE>
+BSPPeer (Hama 0.2.0 API)
+</TITLE>
+
+<META NAME="date" CONTENT="2011-06-02">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="BSPPeer (Hama 0.2.0 API)";
+ }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BSPPeer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/hama/bsp/BSPPeer.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BSPPeer.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.hama.bsp</FONT>
+<BR>
+Class BSPPeer</H2>
+<PRE>
+<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hama.bsp.BSPPeer</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>, org.apache.hadoop.ipc.VersionedProtocol, <A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A>, <A HREF="../../../../org/apache/hama/bsp/BSPRPCProtocolVersion.html" title="interface in org.apache.hama.bsp">BSPRPCProtocolVersion</A>, <A HREF="../../../../org/apache/hama/Constants.html" title="interface in org.apache.hama">Constants</A>, org.apache.zookeeper.Watcher</DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>BSPPeer</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements org.apache.zookeeper.Watcher, <A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></DL>
+</PRE>
+
+<P>
+This class represents a BSP peer.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<A NAME="nested_class_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Nested Class Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="nested_classes_inherited_from_class_org.apache.zookeeper.Watcher"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>org.apache.zookeeper.Watcher.Event</CODE></TD>
+</TR>
+</TABLE>
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static org.apache.commons.logging.Log</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#LOG">LOG</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_org.apache.hama.bsp.BSPRPCProtocolVersion"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface org.apache.hama.bsp.<A HREF="../../../../org/apache/hama/bsp/BSPRPCProtocolVersion.html" title="interface in org.apache.hama.bsp">BSPRPCProtocolVersion</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPRPCProtocolVersion.html#versionID">versionID</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_org.apache.hama.Constants"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface org.apache.hama.<A HREF="../../../../org/apache/hama/Constants.html" title="interface in org.apache.hama">Constants</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../org/apache/hama/Constants.html#CLUSTER_DISTRIBUTED">CLUSTER_DISTRIBUTED</A>, <A HREF="../../../../org/apache/hama/Constants.html#CLUSTER_IS_DISTRIBUTED">CLUSTER_IS_DISTRIBUTED</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_GROOM_RPC_HOST">DEFAULT_GROOM_RPC_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_GROOM_RPC_PORT">DEFAULT_GROOM_RPC_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_PEER_HOST">DEFAULT_PEER_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_PEER_PORT">DEFAULT_PEER_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEEPER_PAUSE">DEFAULT_ZOOKEEPER_PAUSE</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEEPER_RETRIES">DEFAULT_ZOOKEEPER_RETRIES</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEEPER_ROOT">DEFAULT_ZOOKEEPER_ROOT</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_Z
OOKEEPER_SERVER_ADDR">DEFAULT_ZOOKEEPER_SERVER_ADDR</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEPER_CLIENT_PORT">DEFAULT_ZOOKEPER_CLIENT_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#EMPTY_BYTE_ARRAY">EMPTY_BYTE_ARRAY</A>, <A HREF="../../../../org/apache/hama/Constants.html#GROOM_RPC_HOST">GROOM_RPC_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#GROOM_RPC_PORT">GROOM_RPC_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#GROOM_SERVER_IMPL">GROOM_SERVER_IMPL</A>, <A HREF="../../../../org/apache/hama/Constants.html#PEER_HOST">PEER_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#PEER_ID">PEER_ID</A>, <A HREF="../../../../org/apache/hama/Constants.html#PEER_PORT">PEER_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#UTF8_ENCODING">UTF8_ENCODING</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_CONFIG_NAME">ZOOKEEPER_CONFIG_NAME</A>, <A HREF="../../../../org/apache/hama
/Constants.html#ZOOKEEPER_PAUSE">ZOOKEEPER_PAUSE</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_QUORUM">ZOOKEEPER_QUORUM</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_RETRIES">ZOOKEEPER_RETRIES</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_ROOT">ZOOKEEPER_ROOT</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_SERVER_ADDRS">ZOOKEEPER_SERVER_ADDRS</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEPER_CLIENT_PORT">ZOOKEPER_CLIENT_PORT</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#BSPPeer(org.apache.hadoop.conf.Configuration)">BSPPeer</A></B>(org.apache.hadoop.conf.Configuration conf)</CODE>
+
+<BR>
+ Constructor</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#clear()">clear</A></B>()</CODE>
+
+<BR>
+ Clears all queues entries.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#clearLocalQueue()">clearLocalQueue</A></B>()</CODE>
+
+<BR>
+ Clears local queue</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#clearOutgoingQueues()">clearOutgoingQueues</A></B>()</CODE>
+
+<BR>
+ Clears outgoing queues</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#close()">close</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#enterBarrier()">enterBarrier</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getAllPeerNames()">getAllPeerNames</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getBSPPeerConnection(java.net.InetSocketAddress)">getBSPPeerConnection</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</A> addr)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getCurrentMessage()">getCurrentMessage</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getLocalQueueSize()">getLocalQueueSize</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getNumCurrentMessages()">getNumCurrentMessages</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getOutgoingQueueSize()">getOutgoingQueueSize</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getPeerName()">getPeerName</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getProtocolVersion(java.lang.String, long)">getProtocolVersion</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> arg0,
+ long arg1)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#getSuperstepCount()">getSuperstepCount</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#leaveBarrier()">leaveBarrier</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#process(org.apache.zookeeper.WatchedEvent)">process</A></B>(org.apache.zookeeper.WatchedEvent event)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#put(org.apache.hama.bsp.BSPMessage)">put</A></B>(<A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)</CODE>
+
+<BR>
+ Puts a message to local queue.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#reinitialize()">reinitialize</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#send(java.lang.String, org.apache.hama.bsp.BSPMessage)">send</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> peerName,
+ <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)</CODE>
+
+<BR>
+ Send a data with a tag to another BSPSlave corresponding to hostname.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#setCurrentTaskStatus(org.apache.hama.bsp.TaskStatus)">setCurrentTaskStatus</A></B>(org.apache.hama.bsp.TaskStatus currentTaskStatus)</CODE>
+
+<BR>
+ Sets the current status</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#setJobConf(org.apache.hama.bsp.BSPJob)">setJobConf</A></B>(<A HREF="../../../../org/apache/hama/bsp/BSPJob.html" title="class in org.apache.hama.bsp">BSPJob</A> jobConf)</CODE>
+
+<BR>
+ Sets the job configuration</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#sync()">sync</A></B>()</CODE>
+
+<BR>
+ Barrier Synchronization.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html#waitForSync()">waitForSync</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://downloa
d.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="LOG"><!-- --></A><H3>
+LOG</H3>
+<PRE>
+public static final org.apache.commons.logging.Log <B>LOG</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="BSPPeer(org.apache.hadoop.conf.Configuration)"><!-- --></A><H3>
+BSPPeer</H3>
+<PRE>
+public <B>BSPPeer</B>(org.apache.hadoop.conf.Configuration conf)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD>Constructor
+<P>
+<DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="reinitialize()"><!-- --></A><H3>
+reinitialize</H3>
+<PRE>
+public void <B>reinitialize</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getCurrentMessage()"><!-- --></A><H3>
+getCurrentMessage</H3>
+<PRE>
+public <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> <B>getCurrentMessage</B>()
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getCurrentMessage()">getCurrentMessage</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A message from the peer's received messages queue (a FIFO).
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="send(java.lang.String, org.apache.hama.bsp.BSPMessage)"><!-- --></A><H3>
+send</H3>
+<PRE>
+public void <B>send</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> peerName,
+ <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#send(java.lang.String, org.apache.hama.bsp.BSPMessage)">BSPPeerInterface</A></CODE></B></DD>
+<DD>Send a data with a tag to another BSPSlave corresponding to hostname.
+ Messages sent by this method are not guaranteed to be received in a sent
+ order.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#send(java.lang.String, org.apache.hama.bsp.BSPMessage)">send</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="sync()"><!-- --></A><H3>
+sync</H3>
+<PRE>
+public void <B>sync</B>()
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ org.apache.zookeeper.KeeperException,
+ <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#sync()">BSPPeerInterface</A></CODE></B></DD>
+<DD>Barrier Synchronization.
+
+ Sends all the messages in the outgoing message queues to the corresponding
+ remote peers.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#sync()">sync</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>org.apache.zookeeper.KeeperException</CODE>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="enterBarrier()"><!-- --></A><H3>
+enterBarrier</H3>
+<PRE>
+protected boolean <B>enterBarrier</B>()
+ throws org.apache.zookeeper.KeeperException,
+ <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>org.apache.zookeeper.KeeperException</CODE>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="waitForSync()"><!-- --></A><H3>
+waitForSync</H3>
+<PRE>
+protected boolean <B>waitForSync</B>()
+ throws org.apache.zookeeper.KeeperException,
+ <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>org.apache.zookeeper.KeeperException</CODE>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="leaveBarrier()"><!-- --></A><H3>
+leaveBarrier</H3>
+<PRE>
+protected boolean <B>leaveBarrier</B>()
+ throws org.apache.zookeeper.KeeperException,
+ <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>org.apache.zookeeper.KeeperException</CODE>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="process(org.apache.zookeeper.WatchedEvent)"><!-- --></A><H3>
+process</H3>
+<PRE>
+public void <B>process</B>(org.apache.zookeeper.WatchedEvent event)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE>process</CODE> in interface <CODE>org.apache.zookeeper.Watcher</CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clear()"><!-- --></A><H3>
+clear</H3>
+<PRE>
+public void <B>clear</B>()</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#clear()">BSPPeerInterface</A></CODE></B></DD>
+<DD>Clears all queues entries.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#clear()">clear</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="close()"><!-- --></A><H3>
+close</H3>
+<PRE>
+public void <B>close</B>()
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="put(org.apache.hama.bsp.BSPMessage)"><!-- --></A><H3>
+put</H3>
+<PRE>
+public void <B>put</B>(<A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#put(org.apache.hama.bsp.BSPMessage)">BSPPeerInterface</A></CODE></B></DD>
+<DD>Puts a message to local queue.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#put(org.apache.hama.bsp.BSPMessage)">put</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getProtocolVersion(java.lang.String, long)"><!-- --></A><H3>
+getProtocolVersion</H3>
+<PRE>
+public long <B>getProtocolVersion</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> arg0,
+ long arg1)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE>getProtocolVersion</CODE> in interface <CODE>org.apache.hadoop.ipc.VersionedProtocol</CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getBSPPeerConnection(java.net.InetSocketAddress)"><!-- --></A><H3>
+getBSPPeerConnection</H3>
+<PRE>
+protected <A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A> <B>getBSPPeerConnection</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</A> addr)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPeerName()"><!-- --></A><H3>
+getPeerName</H3>
+<PRE>
+public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPeerName</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getPeerName()">getPeerName</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the string as host:port of this Peer</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllPeerNames()"><!-- --></A><H3>
+getAllPeerNames</H3>
+<PRE>
+public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getAllPeerNames</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getAllPeerNames()">getAllPeerNames</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The names of all the peers executing tasks from the same job
+ (including this peer).</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getNumCurrentMessages()"><!-- --></A><H3>
+getNumCurrentMessages</H3>
+<PRE>
+public int <B>getNumCurrentMessages</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getNumCurrentMessages()">getNumCurrentMessages</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the number of messages</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setCurrentTaskStatus(org.apache.hama.bsp.TaskStatus)"><!-- --></A><H3>
+setCurrentTaskStatus</H3>
+<PRE>
+public void <B>setCurrentTaskStatus</B>(org.apache.hama.bsp.TaskStatus currentTaskStatus)</PRE>
+<DL>
+<DD>Sets the current status
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>currentTaskStatus</CODE> - </DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSuperstepCount()"><!-- --></A><H3>
+getSuperstepCount</H3>
+<PRE>
+public long <B>getSuperstepCount</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getSuperstepCount()">getSuperstepCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp">BSPPeerInterface</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the count of current super-step</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setJobConf(org.apache.hama.bsp.BSPJob)"><!-- --></A><H3>
+setJobConf</H3>
+<PRE>
+public void <B>setJobConf</B>(<A HREF="../../../../org/apache/hama/bsp/BSPJob.html" title="class in org.apache.hama.bsp">BSPJob</A> jobConf)</PRE>
+<DL>
+<DD>Sets the job configuration
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>jobConf</CODE> - </DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getLocalQueueSize()"><!-- --></A><H3>
+getLocalQueueSize</H3>
+<PRE>
+public int <B>getLocalQueueSize</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the size of local queue</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getOutgoingQueueSize()"><!-- --></A><H3>
+getOutgoingQueueSize</H3>
+<PRE>
+public int <B>getOutgoingQueueSize</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the size of outgoing queue</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clearLocalQueue()"><!-- --></A><H3>
+clearLocalQueue</H3>
+<PRE>
+public void <B>clearLocalQueue</B>()</PRE>
+<DL>
+<DD>Clears local queue
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clearOutgoingQueues()"><!-- --></A><H3>
+clearOutgoingQueues</H3>
+<PRE>
+public void <B>clearOutgoingQueues</B>()</PRE>
+<DL>
+<DD>Clears outgoing queues
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BSPPeer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html" title="interface in org.apache.hama.bsp"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/hama/bsp/BSPPeer.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BSPPeer.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2011 The Apache Software Foundation
+</BODY>
+</HTML>
Added: incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeerInterface.html
URL: http://svn.apache.org/viewvc/incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeerInterface.html?rev=1130398&view=auto
==============================================================================
--- incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeerInterface.html (added)
+++ incubator/hama/site/publish/docs/r0.2.0/api/org/apache/hama/bsp/BSPPeerInterface.html Thu Jun 2 04:04:29 2011
@@ -0,0 +1,480 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_21) on Thu Jun 02 11:38:31 KST 2011 -->
+<TITLE>
+BSPPeerInterface (Hama 0.2.0 API)
+</TITLE>
+
+<META NAME="date" CONTENT="2011-06-02">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="BSPPeerInterface (Hama 0.2.0 API)";
+ }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BSPPeerInterface.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeer.html" title="class in org.apache.hama.bsp"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeerProtocol.html" title="interface in org.apache.hama.bsp"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/hama/bsp/BSPPeerInterface.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BSPPeerInterface.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.hama.bsp</FONT>
+<BR>
+Interface BSPPeerInterface</H2>
+<DL>
+<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../org/apache/hama/bsp/BSPRPCProtocolVersion.html" title="interface in org.apache.hama.bsp">BSPRPCProtocolVersion</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>, <A HREF="../../../../org/apache/hama/Constants.html" title="interface in org.apache.hama">Constants</A>, org.apache.hadoop.ipc.VersionedProtocol</DD>
+</DL>
+<DL>
+<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../org/apache/hama/bsp/BSPPeerProtocol.html" title="interface in org.apache.hama.bsp">BSPPeerProtocol</A></DD>
+</DL>
+<DL>
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/hama/bsp/BSPPeer.html" title="class in org.apache.hama.bsp">BSPPeer</A>, <A HREF="../../../../org/apache/hama/bsp/GroomServer.html" title="class in org.apache.hama.bsp">GroomServer</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public interface <B>BSPPeerInterface</B><DT>extends <A HREF="../../../../org/apache/hama/bsp/BSPRPCProtocolVersion.html" title="interface in org.apache.hama.bsp">BSPRPCProtocolVersion</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>, <A HREF="../../../../org/apache/hama/Constants.html" title="interface in org.apache.hama">Constants</A></DL>
+</PRE>
+
+<P>
+BSP communication interface.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_org.apache.hama.bsp.BSPRPCProtocolVersion"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface org.apache.hama.bsp.<A HREF="../../../../org/apache/hama/bsp/BSPRPCProtocolVersion.html" title="interface in org.apache.hama.bsp">BSPRPCProtocolVersion</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../org/apache/hama/bsp/BSPRPCProtocolVersion.html#versionID">versionID</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_org.apache.hama.Constants"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface org.apache.hama.<A HREF="../../../../org/apache/hama/Constants.html" title="interface in org.apache.hama">Constants</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../org/apache/hama/Constants.html#CLUSTER_DISTRIBUTED">CLUSTER_DISTRIBUTED</A>, <A HREF="../../../../org/apache/hama/Constants.html#CLUSTER_IS_DISTRIBUTED">CLUSTER_IS_DISTRIBUTED</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_GROOM_RPC_HOST">DEFAULT_GROOM_RPC_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_GROOM_RPC_PORT">DEFAULT_GROOM_RPC_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_PEER_HOST">DEFAULT_PEER_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_PEER_PORT">DEFAULT_PEER_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEEPER_PAUSE">DEFAULT_ZOOKEEPER_PAUSE</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEEPER_RETRIES">DEFAULT_ZOOKEEPER_RETRIES</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEEPER_ROOT">DEFAULT_ZOOKEEPER_ROOT</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_Z
OOKEEPER_SERVER_ADDR">DEFAULT_ZOOKEEPER_SERVER_ADDR</A>, <A HREF="../../../../org/apache/hama/Constants.html#DEFAULT_ZOOKEPER_CLIENT_PORT">DEFAULT_ZOOKEPER_CLIENT_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#EMPTY_BYTE_ARRAY">EMPTY_BYTE_ARRAY</A>, <A HREF="../../../../org/apache/hama/Constants.html#GROOM_RPC_HOST">GROOM_RPC_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#GROOM_RPC_PORT">GROOM_RPC_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#GROOM_SERVER_IMPL">GROOM_SERVER_IMPL</A>, <A HREF="../../../../org/apache/hama/Constants.html#PEER_HOST">PEER_HOST</A>, <A HREF="../../../../org/apache/hama/Constants.html#PEER_ID">PEER_ID</A>, <A HREF="../../../../org/apache/hama/Constants.html#PEER_PORT">PEER_PORT</A>, <A HREF="../../../../org/apache/hama/Constants.html#UTF8_ENCODING">UTF8_ENCODING</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_CONFIG_NAME">ZOOKEEPER_CONFIG_NAME</A>, <A HREF="../../../../org/apache/hama
/Constants.html#ZOOKEEPER_PAUSE">ZOOKEEPER_PAUSE</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_QUORUM">ZOOKEEPER_QUORUM</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_RETRIES">ZOOKEEPER_RETRIES</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_ROOT">ZOOKEEPER_ROOT</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEEPER_SERVER_ADDRS">ZOOKEEPER_SERVER_ADDRS</A>, <A HREF="../../../../org/apache/hama/Constants.html#ZOOKEPER_CLIENT_PORT">ZOOKEPER_CLIENT_PORT</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#clear()">clear</A></B>()</CODE>
+
+<BR>
+ Clears all queues entries.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getAllPeerNames()">getAllPeerNames</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getCurrentMessage()">getCurrentMessage</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getNumCurrentMessages()">getNumCurrentMessages</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getPeerName()">getPeerName</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#getSuperstepCount()">getSuperstepCount</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#put(org.apache.hama.bsp.BSPMessage)">put</A></B>(<A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)</CODE>
+
+<BR>
+ Puts a message to local queue.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#send(java.lang.String, org.apache.hama.bsp.BSPMessage)">send</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> peerName,
+ <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)</CODE>
+
+<BR>
+ Send a data with a tag to another BSPSlave corresponding to hostname.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/hama/bsp/BSPPeerInterface.html#sync()">sync</A></B>()</CODE>
+
+<BR>
+ Barrier Synchronization.</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_org.apache.hadoop.ipc.VersionedProtocol"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>getProtocolVersion</CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.io.Closeable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from interface java.io.<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="send(java.lang.String, org.apache.hama.bsp.BSPMessage)"><!-- --></A><H3>
+send</H3>
+<PRE>
+void <B>send</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> peerName,
+ <A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD>Send a data with a tag to another BSPSlave corresponding to hostname.
+ Messages sent by this method are not guaranteed to be received in a sent
+ order.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>peerName</CODE> - <DD><CODE>msg</CODE> -
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="put(org.apache.hama.bsp.BSPMessage)"><!-- --></A><H3>
+put</H3>
+<PRE>
+void <B>put</B>(<A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> msg)
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD>Puts a message to local queue.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>msg</CODE> -
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getCurrentMessage()"><!-- --></A><H3>
+getCurrentMessage</H3>
+<PRE>
+<A HREF="../../../../org/apache/hama/bsp/BSPMessage.html" title="class in org.apache.hama.bsp">BSPMessage</A> <B>getCurrentMessage</B>()
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A message from the peer's received messages queue (a FIFO).
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getNumCurrentMessages()"><!-- --></A><H3>
+getNumCurrentMessages</H3>
+<PRE>
+int <B>getNumCurrentMessages</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The number of messages in the peer's received messages queue.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="sync()"><!-- --></A><H3>
+sync</H3>
+<PRE>
+void <B>sync</B>()
+ throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ org.apache.zookeeper.KeeperException,
+ <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
+<DL>
+<DD>Barrier Synchronization.
+
+ Sends all the messages in the outgoing message queues to the corresponding
+ remote peers.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE>
+<DD><CODE>org.apache.zookeeper.KeeperException</CODE>
+<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSuperstepCount()"><!-- --></A><H3>
+getSuperstepCount</H3>
+<PRE>
+long <B>getSuperstepCount</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the count of current super-step</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPeerName()"><!-- --></A><H3>
+getPeerName</H3>
+<PRE>
+<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPeerName</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The name of this peer in the format "hostname:port".</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllPeerNames()"><!-- --></A><H3>
+getAllPeerNames</H3>
+<PRE>
+<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getAllPeerNames</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The names of all the peers executing tasks from the same job
+ (including this peer).</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clear()"><!-- --></A><H3>
+clear</H3>
+<PRE>
+void <B>clear</B>()</PRE>
+<DL>
+<DD>Clears all queues entries.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BSPPeerInterface.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeer.html" title="class in org.apache.hama.bsp"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/hama/bsp/BSPPeerProtocol.html" title="interface in org.apache.hama.bsp"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/hama/bsp/BSPPeerInterface.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="BSPPeerInterface.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2011 The Apache Software Foundation
+</BODY>
+</HTML>