パッケージ org.piax.common

クラス DdllKey

java.lang.Object
org.piax.common.DdllKey
すべての実装されたインタフェース:
Serializable, Cloneable, Comparable<DdllKey>

public class DdllKey
extends Object
implements Comparable<DdllKey>, Serializable, Cloneable
A class representing a key for DDLL.

An instance of DdllKey contains a primaryKey, peerId and id. A PeerId is used for making the DdllKey unique.

IDs are used for identifying linked-lists. Different linked-lists should have different IDs. When repairing a linked-list, keys that have the same ID is used as a hint for finding a live left node.

appData is an application-specific data. For example, the skip graph implementation (org.piax.gtrans.ov.sg) uses this field for passing a membership vector.

関連項目:
直列化された形式