|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfabric.dissemination.pastry.messages.Fetch
public class Fetch
A Fetch message represents a request to fetch a particular object.
Nested Class Summary | |
---|---|
static class |
Fetch.Reply
A reply to a Fetch message. |
Constructor Summary | |
---|---|
Fetch(InputBuffer buf,
Endpoint endpoint,
NodeHandle sender)
Deserialization constructor. |
|
Fetch(NodeHandle sender,
Id id,
java.lang.String store,
long onum)
|
Method Summary | |
---|---|
int |
getPriority()
|
short |
getType()
|
Id |
id()
The random id of this message. |
long |
onum()
The object number of the requested object. |
boolean |
refresh()
A hint as to whether we want to explicitly fetch the latest version from the store. |
void |
refresh(boolean refresh)
Set whether we want to refresh. |
Fetch.Reply |
reply()
The reply message. |
void |
reply(Fetch.Reply reply)
Sets the reply message. |
NodeHandle |
sender()
The sender of this message. |
void |
serialize(OutputBuffer buf)
|
java.lang.String |
store()
The store where the requested object resides. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Fetch(NodeHandle sender, Id id, java.lang.String store, long onum)
public Fetch(InputBuffer buf, Endpoint endpoint, NodeHandle sender) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public NodeHandle sender()
public Id id()
public java.lang.String store()
public long onum()
public boolean refresh()
public void refresh(boolean refresh)
public Fetch.Reply reply()
public void reply(Fetch.Reply reply)
public int getPriority()
public java.lang.String toString()
toString
in class java.lang.Object
public short getType()
public void serialize(OutputBuffer buf) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |