VectorClock Class |
Representation of a Vector-based clock (counting clock), inspired by Lamport logical clocks.
Reference:
Based on code from the 'vlock' VectorClock library by Coda Hale.
Namespace: Akka.Cluster
The VectorClock type exposes the following members.
Name | Description | |
---|---|---|
CompareTo | Compares the current vector clock with the supplied vector clock. The outcome will be one of the following:
| |
Create |
Creates a new VectorClock | |
Create(ImmutableSortedDictionaryVectorClockNode, Int64) |
Creates a VectorClock from some initial seed values.
| |
Equals | (Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Increment |
Increment the version for the node passed as argument. Returns a new VectorClock.
| |
IsAfter | ||
IsBefore | ||
IsConcurrentWith | ||
IsSameAs |
Returns true if this VectorClock has the same history as the 'that' VectorClock else false.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge |
Merges the vector clock with another VectorClock (e.g. merges its versioned history).
| |
Prune |
Removes the specified node from the current vector clock.
| |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Equality |
Compares two specified vector clocks for equality.
| |
GreaterThan |
Compares two specified vector clocks to see if the first one is greater than the other one.
| |
Inequality |
Compares two specified vector clocks for inequality.
| |
LessThan |
Compares two specified vector clocks to see if the first one is less than the other one.
|
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |