This topic has not yet been rated - Rate this topic

ClockVector Class

Represents a clock vector in a knowledge structure. This class cannot be inherited.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
[XmlRootAttribute(Namespace="http://schemas.microsoft.com/2008/03/sync/", ElementName="clockVector")] 
[DefaultMemberAttribute("Item")] 
public sealed class ClockVector : IClockVector, IList<IClockVectorElement>, 
	ICollection<IClockVectorElement>, IEnumerable<IClockVectorElement>, IEnumerable, 
	IXmlSerializable
/** @attribute XmlRootAttribute(Namespace="http://schemas.microsoft.com/2008/03/sync/", ElementName="clockVector") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public final class ClockVector implements IClockVector, IList<IClockVectorElement>, 
	ICollection<IClockVectorElement>, IEnumerable<IClockVectorElement>, IEnumerable, 
	IXmlSerializable
XmlRootAttribute(Namespace="http://schemas.microsoft.com/2008/03/sync/", ElementName="clockVector") 
DefaultMemberAttribute("Item") 
public final class ClockVector implements IClockVector, IList<IClockVectorElement>, 
	ICollection<IClockVectorElement>, IEnumerable<IClockVectorElement>, IEnumerable, 
	IXmlSerializable

A clock vector defines the changes that are contained in a knowledge structure by using a list of ClockVectorElement objects. A ClockVectorElement object exists for each replica that has made a change that is contained in the knowledge. A change made by a particular replica is defined to be contained in the knowledge if the tick count for the change occurs between 0 and the tick count contained in ClockVectorElement that tracks that replica.

The members of IXmlSerializable and IEnumerable are implemented explicitly. Code that accesses them must first cast the ClockVector object to the IXmlSerializable or IEnumerable interface by using the casting operator or the as keyword.

System.Object
  Microsoft.Synchronization.ClockVector
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)