Click or drag to resize
Akka.NETVectorClock Methods

The VectorClock type exposes the following members.

Methods
  NameDescription
Public methodCompareTo

Compares the current vector clock with the supplied vector clock. The outcome will be one of the following:

  1. Clock 1 is SAME(==) as Clock 2 iff for all i c1(i) == c2(i)
  2. Clock 1 is BEFORE(<) Clock 2 iff for all i c1(i) <= c2(i) and there exist a j such that c1(j) < c2(j)
  3. Clock 1 is AFTER(>) Clock 2 iff for all i c1(i) >= c2(i) and there exist a j such that c1(j) > c2(j).
  4. Clock 1 is CONCURRENT(<>) to Clock 2 otherwise.
Public methodStatic memberCreate
Creates a new VectorClock
Public methodStatic memberCreate(ImmutableSortedDictionaryVectorClockNode, Int64)
Creates a VectorClock from some initial seed values.
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrement
Increment the version for the node passed as argument. Returns a new VectorClock.
Public methodIsAfter
Returns true if
this
is after
that
else false.
Public methodIsBefore
Returns true if
this
is before
that
else false.
Public methodIsConcurrentWith
Returns true if
this
and
that
are concurrent else false.
Public methodIsSameAs
Returns true if this VectorClock has the same history as the 'that' VectorClock else false.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Merges the vector clock with another VectorClock (e.g. merges its versioned history).
Public methodPrune
Removes the specified node from the current vector clock.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Extension Methods
See Also