ORSetT Class |
Namespace: Akka.DistributedData
[SerializableAttribute] public class ORSet<T> : FastMerge<ORSet<T>>, IReplicatedDataSerialization, IRemovedNodePruning<ORSet<T>>, IReplicatedData<ORSet<T>>, IReplicatedData, IEquatable<ORSet<T>>, IEnumerable<T>, IEnumerable
[Missing <typeparam name="T"/> documentation for "T:Akka.DistributedData.ORSet`1"]
The ORSetT type exposes the following members.
Name | Description | |
---|---|---|
ORSetT | Initializes a new instance of the ORSetT class | |
ORSetT(IImmutableDictionaryT, VersionVector, VersionVector) | Initializes a new instance of the ORSetT class |
Name | Description | |
---|---|---|
Add(Cluster, T) |
Adds an element to the set
| |
Add(UniqueAddress, T) |
Adds an element to the set
| |
AssignAncestor |
INTERNAL API: should be called from "updating" methods
(Inherited from FastMergeT.) | |
Clear | ||
ClearAncestor |
INTERNAL API: should be called from merge
(Inherited from FastMergeT.) | |
Contains | ||
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
Equals(ORSetT) | Indicates whether the current object is equal to another object of the same type. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAncestorOf |
INTERNAL API: should be used from merge
(Inherited from FastMergeT.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge(IReplicatedData) |
TBD
(Inherited from FastMergeT.) | |
Merge(ORSetT) |
When element is in this Set but not in that Set:
Compare the "birth dot" of the present element to the version vector in the Set it is absent from.
If the element dot is not "seen" by other Set version vector, that means the other set has yet to
see this add, and the element is to be in the merged Set.
If the other Set version vector dominates the dot, that means the other Set has removed
the element already, and the element is not to be in the merged Set.
When element in both this Set and in that Set:
Some dots may still need to be shed. If this Set has dots that the other Set does not have,
and the other Set version vector dominates those dots, then we need to drop those dots.
Keep only common dots, and dots that are not dominated by the other sides version vector
(Overrides FastMergeTMerge(T).) | |
NeedPruningFrom | ||
Prune | ||
PruningCleanup | ||
Remove(Cluster, T) |
Removes an element from the set.
| |
Remove(UniqueAddress, T) |
Removes an element from the set.
| |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
ConcatT |
TBD
(Defined by Extensions.) | |
DropT |
Scala alias for Skip
(Defined by Extensions.) | |
ForEachT |
Applies a delegate action to all elements of this enumerable.
(Defined by Extensions.) | |
GroupedT |
Partitions elements in fixed size
Credits to http://stackoverflow.com/a/13731854/465132
(Defined by EnumerableExtensions.) | |
HeadT |
Scala alias for FirstOrDefault
(Defined by Extensions.) | |
IteratorT |
TBD
(Defined by EnumeratorExtensions.) | |
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.) | |
ShouldBeT |
TBD
(Defined by AkkaSpecExtensions.) | |
ShouldOnlyContainInOrderT |
TBD
(Defined by AkkaSpecExtensions.) | |
TakeRightT |
Selects last n elements.
(Defined by Extensions.) |