クラス BasicRQMessage
java.lang.Object
org.piax.gtrans.ov.ring.RequestMessage
org.piax.gtrans.ov.ring.rq.RQMessage
org.piax.gtrans.ov.ring.rq.BasicRQMessage
- すべての実装されたインタフェース:
Serializable
public class BasicRQMessage extends RQMessage
- 関連項目:
- 直列化された形式
-
フィールドの概要
クラスから継承されたフィールド org.piax.gtrans.ov.ring.rq.RQMessage
failedLinks, hops, qid, query, rqRet, subRanges, targetRangesクラスから継承されたフィールド org.piax.gtrans.ov.ring.RequestMessage
ackReceived, ackSent, isRecvdInstance, isRoot, msgframe, msgId, opts, readyToReceive, receiver, replyId, replySent, replyTo, sender, timeoutTask, timestamp -
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protectedBasicRQMessage(MessagingFramework sgmf, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, QueryId qid, Object query, int hops, TransOptions opts) -
メソッドの概要
修飾子とタイプ メソッド 説明 protected BasicRQMessagecreateInstance(MessagingFramework sgmf, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, TransOptions opts)voidexecute(RingManager<?> sg)this method is called when this message is received at the receiver node.RQAlgorithmgetRangeQueryAlgorithm()static RQMessagenewRQMessage4Root(MessagingFramework msgframe, Collection<SubRange> subRanges, QueryId qid, Object query, TransOptions opts)create an instance of RQMessage used for a root node.RQReplyMessagenewRQReplyMessage(Collection<DKRangeRValue<?>> vals, boolean isFinal, Collection<MessagePath> paths, int hops)StringshortName()クラスから継承されたメソッド org.piax.gtrans.ov.ring.rq.RQMessage
addFailedLinks, adjustSubRangesForRetrans, getQuery, getTargetRanges, newChildInstance, newChildInstance, onReceivingReply, onResponseTimeout, toStringクラスから継承されたメソッド org.piax.gtrans.ov.ring.RequestMessage
dispose, getManager, isAckTimedOut, mayReceiveReply, newAckMessage, responseReceived, send, sendAck
-
コンストラクタの詳細
-
BasicRQMessage
protected BasicRQMessage(MessagingFramework sgmf, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, QueryId qid, Object query, int hops, TransOptions opts)
-
-
メソッドの詳細
-
newRQMessage4Root
public static RQMessage newRQMessage4Root(MessagingFramework msgframe, Collection<SubRange> subRanges, QueryId qid, Object query, TransOptions opts)create an instance of RQMessage used for a root node.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.- 戻り値:
- an instance of RQMessage
-
getRangeQueryAlgorithm
- 定義:
getRangeQueryAlgorithmクラス内RQMessage
-
createInstance
protected BasicRQMessage createInstance(MessagingFramework sgmf, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, TransOptions opts)- 定義:
createInstanceクラス内RQMessage
-
execute
クラスからコピーされた説明:RequestMessagethis method is called when this message is received at the receiver node.- 定義:
executeクラス内RequestMessage- パラメータ:
sg- an instance of Ring
-
shortName
-
newRQReplyMessage
public RQReplyMessage newRQReplyMessage(Collection<DKRangeRValue<?>> vals, boolean isFinal, Collection<MessagePath> paths, int hops)- 定義:
newRQReplyMessageクラス内RQMessage
-