ClockVector クラス

ナレッジ構造のクロック ベクターを表します。このクラスは継承できません。

名前空間:  Microsoft.Synchronization
アセンブリ:  Microsoft.Synchronization (Microsoft.Synchronization.dll 内)

構文

'宣言
Public NotInheritable Class ClockVector _
    Implements IClockVector, IList(Of IClockVectorElement),  _
    ICollection(Of IClockVectorElement), IEnumerable(Of IClockVectorElement), IEnumerable,  _
    IXmlSerializable, IClockVectorInternal
'使用
Dim instance As ClockVector
public sealed class ClockVector : IClockVector, 
    IList<IClockVectorElement>, ICollection<IClockVectorElement>, IEnumerable<IClockVectorElement>, 
    IEnumerable, IXmlSerializable, IClockVectorInternal
public ref class ClockVector sealed : IClockVector, 
    IList<IClockVectorElement^>, ICollection<IClockVectorElement^>, IEnumerable<IClockVectorElement^>, 
    IEnumerable, IXmlSerializable, IClockVectorInternal
[<SealedAttribute>]
type ClockVector =  
    class
        interface IClockVector
        interface IList<IClockVectorElement>
        interface ICollection<IClockVectorElement>
        interface IEnumerable<IClockVectorElement>
        interface IEnumerable
        interface IXmlSerializable
        interface IClockVectorInternal
    end
public final class ClockVector implements IClockVector, IList<IClockVectorElement>, ICollection<IClockVectorElement>, IEnumerable<IClockVectorElement>, IEnumerable, IXmlSerializable, IClockVectorInternal

説明

クロック ベクターは、ClockVectorElement オブジェクトの一覧を使用してナレッジ構造に含まれる変更を定義します。ClockVectorElement オブジェクトは、ナレッジに含まれている変更を加えた各レプリカに 1 つ存在します。特定のレプリカが加えた変更は、変更のティック数が 0 からそのレプリカを追跡する ClockVectorElement に含まれているティック数までの間で発生する場合に、ナレッジに含まれているものとして定義されます。

IXmlSerializable および IEnumerable のメンバーは明示的に実装されます。これらにアクセスするコードではまず、キャスト演算子または as キーワードを使用して ClockVector オブジェクトを IXmlSerializable または IEnumerable インターフェイスにキャストする必要があります。

継承階層

System. . :: . .Object
  Microsoft.Synchronization..::..ClockVector

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

参照

ClockVector メンバー

Microsoft.Synchronization 名前空間