public class BasicRQMessage extends RQMessage
failedLinks, hops, qid, query, rqRet, subRanges, targetRangesackReceived, ackSent, isRecvdInstance, isRoot, msgframe, msgId, opts, readyToReceive, receiver, replyId, replySent, replyTo, sender, timeoutTask, timestamp| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
BasicRQMessage(MessagingFramework sgmf,
boolean isRoot,
Endpoint replyTo,
int replyId,
Collection<SubRange> subRanges,
QueryId qid,
Object query,
int hops,
TransOptions opts) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected BasicRQMessage |
createInstance(MessagingFramework sgmf,
boolean isRoot,
Endpoint replyTo,
int replyId,
Collection<SubRange> subRanges,
TransOptions opts) |
void |
execute(RingManager<?> sg)
this method is called when this message is received at the receiver
node.
|
RQAlgorithm |
getRangeQueryAlgorithm() |
static RQMessage |
newRQMessage4Root(MessagingFramework msgframe,
Collection<SubRange> subRanges,
QueryId qid,
Object query,
TransOptions opts)
create an instance of RQMessage used for a root node.
|
RQReplyMessage |
newRQReplyMessage(Collection<DKRangeRValue<?>> vals,
boolean isFinal,
Collection<MessagePath> paths,
int hops) |
String |
shortName() |
addFailedLinks, adjustSubRangesForRetrans, getQuery, getTargetRanges, newChildInstance, newChildInstance, onReceivingReply, onResponseTimeout, toStringdispose, getManager, isAckTimedOut, mayReceiveReply, newAckMessage, responseReceived, send, sendAckprotected BasicRQMessage(MessagingFramework sgmf, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, QueryId qid, Object query, int hops, TransOptions opts)
public static RQMessage newRQMessage4Root(MessagingFramework msgframe, Collection<SubRange> subRanges, QueryId qid, Object query, TransOptions opts)
this instance is used only for creating child RQMessage and never receive any reply message.
msgframe - the messaging framework.subRanges - the subranges.qid - the id of the query.query - the query objectopts - the transport options.public RQAlgorithm getRangeQueryAlgorithm()
getRangeQueryAlgorithm クラス内 RQMessageprotected BasicRQMessage createInstance(MessagingFramework sgmf, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, TransOptions opts)
createInstance クラス内 RQMessagepublic void execute(RingManager<?> sg)
RequestMessageexecute クラス内 RequestMessagesg - an instance of Ringpublic RQReplyMessage newRQReplyMessage(Collection<DKRangeRValue<?>> vals, boolean isFinal, Collection<MessagePath> paths, int hops)
newRQReplyMessage クラス内 RQMessageCopyright © 2017. All rights reserved.