public class GetFreeMessage extends Message
Message.Kind
Constructor and Description |
---|
GetFreeMessage(HostID src,
HostID dst)
Create new message requesting chunkservers
that are eligible to store new chunks.
|
Modifier and Type | Method and Description |
---|---|
boolean |
expectsReply()
Determine whether or not this message
should attempt to get a reply.
|
HostID[] |
getChunkServers()
Get the chunkservers sent.
|
GetFreeMessage |
send()
Send this message to its
current destination.
|
void |
setChunkServers(HostID[] chunkServers)
Set the chunkservers to send.
|
public boolean expectsReply()
Message
expectsReply
in class Message
public void setChunkServers(HostID[] chunkServers)
The
- chunkservers to
send in this message.public HostID[] getChunkServers()
public GetFreeMessage send() throws java.lang.Exception