|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BSPPeerInterface
BSP communication interface.
Field Summary |
---|
Fields inherited from interface org.apache.hama.bsp.BSPRPCProtocolVersion |
---|
versionID |
Method Summary | |
---|---|
void |
clear()
Clears all queues entries. |
java.lang.String[] |
getAllPeerNames()
|
BSPMessage |
getCurrentMessage()
|
int |
getNumCurrentMessages()
|
java.lang.String |
getPeerName()
|
long |
getSuperstepCount()
|
void |
put(BSPMessage msg)
Puts a message to local queue. |
void |
put(BSPMessageBundle messages)
Puts a bundle of messages to local queue. |
void |
send(java.lang.String peerName,
BSPMessage msg)
Send a data with a tag to another BSPSlave corresponding to hostname. |
void |
sync()
Barrier Synchronization. |
Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol |
---|
getProtocolVersion |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
void send(java.lang.String peerName, BSPMessage msg) throws java.io.IOException
peerName
- msg
-
java.io.IOException
void put(BSPMessage msg) throws java.io.IOException
msg
-
java.io.IOException
void put(BSPMessageBundle messages) throws java.io.IOException
messages
-
java.io.IOException
BSPMessage getCurrentMessage() throws java.io.IOException
java.io.IOException
int getNumCurrentMessages()
void sync() throws java.io.IOException, org.apache.zookeeper.KeeperException, java.lang.InterruptedException
java.lang.InterruptedException
org.apache.zookeeper.KeeperException
java.io.IOException
long getSuperstepCount()
java.lang.String getPeerName()
java.lang.String[] getAllPeerNames()
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |