パッケージ org.piax.gtrans.ov.szk
クラス ChordSharpRQMessage
java.lang.Object
org.piax.gtrans.ov.ring.RequestMessage
org.piax.gtrans.ov.ring.rq.RQMessage
org.piax.gtrans.ov.szk.ChordSharpRQMessage
- すべての実装されたインタフェース:
Serializable
public class ChordSharpRQMessage 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 -
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protectedChordSharpRQMessage(MessagingFramework msgframe, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, QueryId qid, Object query, int hops, TransOptions opts) -
メソッドの概要
修飾子とタイプ メソッド 説明 Collection<SubRange>adjustSubRangesForRetrans(Collection<SubRange> subRanges)protected ChordSharpRQMessagecreateInstance(MessagingFramework sgmf, boolean isRoot, Endpoint replyTo, int replyId, Collection<SubRange> subRanges, TransOptions opts)voidexecute(RingManager<?> rm)this method is called when this message is received at the receiver node.protected ChordSharp<?>getManager()RQAlgorithmgetRangeQueryAlgorithm()AckMessagenewAckMessage()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)voidonResponseTimeout()this method is called when the response message (ack/reply) for this message is timed-out.protected voidresponseReceived(ResponseMessage resp)ack or reply message is received for this RequestMessage.StringshortName()StringtoString()クラスから継承されたメソッド org.piax.gtrans.ov.ring.rq.RQMessage
addFailedLinks, getQuery, getTargetRanges, newChildInstance, newChildInstance, onReceivingReplyクラスから継承されたメソッド org.piax.gtrans.ov.ring.RequestMessage
dispose, isAckTimedOut, mayReceiveReply, send, sendAck
-
コンストラクタの詳細
-
ChordSharpRQMessage
protected ChordSharpRQMessage(MessagingFramework msgframe, 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 frameworksubRanges- the subranges.qid- the query id.query- the query object.opts- the transport options.- 戻り値:
- an instance of RQMessage
-
getManager
- オーバーライド:
getManagerクラス内RequestMessage
-
getRangeQueryAlgorithm
- 定義:
getRangeQueryAlgorithmクラス内RQMessage
-
createInstance
protected ChordSharpRQMessage 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- パラメータ:
rm- an instance of Ring
-
shortName
-
toString
-
onResponseTimeout
public void onResponseTimeout()クラスからコピーされた説明:RequestMessagethis method is called when the response message (ack/reply) for this message is timed-out.- オーバーライド:
onResponseTimeoutクラス内RQMessage
-
newAckMessage
- オーバーライド:
newAckMessageクラス内RequestMessage
-
newRQReplyMessage
public RQReplyMessage newRQReplyMessage(Collection<DKRangeRValue<?>> vals, boolean isFinal, Collection<MessagePath> paths, int hops)- 定義:
newRQReplyMessageクラス内RQMessage
-
responseReceived
クラスからコピーされた説明:RequestMessageack or reply message is received for this RequestMessage. stop fast retransmission and dispose if possible. note thatChordSharpRQMessageoverrides this method.- オーバーライド:
responseReceivedクラス内RequestMessage- パラメータ:
resp- the response message.
-
adjustSubRangesForRetrans
- オーバーライド:
adjustSubRangesForRetransクラス内RQMessage
-