クラス RQReturn
java.lang.Object
org.piax.gtrans.ov.ring.rq.RQReturn
public class RQReturn extends Object
A class for storing results of a range query. This class is used at both
the root node (the querying node) and the intermediate nodes.
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classRQReturn.MVal -
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 RQMessageparentMsgthe RQMessage received from the parent nodestatic booleanPREFER_COLLECTING_EXACT_PATH -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 RQReturn(RQManager<?> manager, RQMessage msg, TransOptions opts, boolean isRoot) -
メソッドの概要
修飾子とタイプ メソッド 説明 voidaddMessagePaths(Collection<MessagePath> paths)voidaddRemoteValues(Collection<DKRangeRValue<?>> ranges)store results of (sub)ranges and flush if appropriate.voiddispose()voidflush()send the collected results to the parent node. note that the results are cleared after flushing.FutureQueue<Object>getFutureQueue()Collection<MessagePath>getMessagePaths()RQResults<?>getRQResults()voidretransmit(Collection<SubRange> ranges)slow retransmit a range query message for specified ranges.voidsendChildMessage(Link dest, RQMessage m)StringtoString()voidupdateHops(int hops)
-
フィールド詳細
-
PREFER_COLLECTING_EXACT_PATH
public static final boolean PREFER_COLLECTING_EXACT_PATH- 関連項目:
- 定数フィールド値
-
parentMsg
the RQMessage received from the parent node
-
-
コンストラクタの詳細
-
メソッドの詳細
-
toString
-
sendChildMessage
-
dispose
public void dispose() -
addMessagePaths
-
addRemoteValues
store results of (sub)ranges and flush if appropriate.- パラメータ:
ranges- the ranges.
-
flush
public void flush()send the collected results to the parent node. note that the results are cleared after flushing. -
getFutureQueue
-
getRQResults
-
updateHops
public void updateHops(int hops) -
retransmit
slow retransmit a range query message for specified ranges.- パラメータ:
ranges- retransmit ranges
-
getMessagePaths
-