Click or drag to resize
Akka.NETORDictionaryTKey, TValue Class
Implements a 'Observed Remove Map' CRDT, also called a 'OR-Map'. It has similar semantics as an ORSetT, but in case of concurrent updates the values are merged, and must therefore be IReplicatedData types themselves. This class is immutable, i.e. "modifying" methods return a new instance.
Inheritance Hierarchy
SystemObject
  Akka.DistributedDataORDictionaryTKey, TValue

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
[SerializableAttribute]
public class ORDictionary<TKey, TValue> : IReplicatedData<ORDictionary<TKey, TValue>>, 
	IReplicatedData, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, 
	IRemovedNodePruning<ORDictionary<TKey, TValue>>, IEquatable<ORDictionary<TKey, TValue>>, 
	IReplicatedDataSerialization
where TValue : IReplicatedData

Type Parameters

TKey

[Missing <typeparam name="TKey"/> documentation for "T:Akka.DistributedData.ORDictionary`2"]

TValue

[Missing <typeparam name="TValue"/> documentation for "T:Akka.DistributedData.ORDictionary`2"]

The ORDictionaryTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodORDictionaryTKey, TValue
Creates a new instance of the ORDictionaryTKey, TValue class.
Top
Properties
  NameDescription
Public propertyCount
Returns number of entries stored within current ORDictionaryTKey, TValue
Public propertyEntries
Returns all entries stored within current ORDictionaryTKey, TValue
Public propertyIsEmpty
Determines if current ORDictionaryTKey, TValue doesn't contain any value.
Public propertyItem
Returns an element stored under provided key.
Public propertyKeys
Returns all keys stored within current ORDictionaryTKey, TValue
Public propertyValues
Returns all values stored within current ORDictionaryTKey, TValue
Top
Methods
  NameDescription
Public methodAddOrUpdate(Cluster, TKey, TValue, FuncTValue, TValue)
Replace a value by applying the modify function on the existing value. If there is no current value for the key the initial value will be passed to the modify function.
Public methodAddOrUpdate(UniqueAddress, TKey, TValue, FuncTValue, TValue)
Replace a value by applying the modify function on the existing value. If there is no current value for the key the initial value will be passed to the modify function.
Public methodContainsKey
Checks if provided key can be found inside current ORDictionaryTKey, TValue
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(ORDictionaryTKey, TValue)
Indicates whether the current object is equal to another object of the same type.
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 methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge(IReplicatedData)
Public methodMerge(ORDictionaryTKey, TValue)
Public methodNeedPruningFrom
Public methodPrune
Public methodPruningCleanup
Public methodRemove(Cluster, TKey)
Removes an entry from the map. Note that if there is a conflicting update on another node the entry will not be removed after merge.
Public methodRemove(UniqueAddress, TKey)
Removes an entry from the map. Note that if there is a conflicting update on another node the entry will not be removed after merge.
Public methodSetItem(Cluster, TKey, TValue)
Public methodSetItem(UniqueAddress, TKey, TValue)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodTryGetValue
Tries to retrieve value under provided key, returning true if value under that key has been found.
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
An empty instance of the ORDictionaryTKey, TValue
Top
Extension Methods
  NameDescription
Public Extension MethodAsInstanceOfT
TBD
(Defined by Extensions.)
Public Extension MethodConcatKeyValuePairTKey, TValue
TBD
(Defined by Extensions.)
Public Extension MethodDropKeyValuePairTKey, TValue
Scala alias for Skip
(Defined by Extensions.)
Public Extension MethodForEachKeyValuePairTKey, TValue
Applies a delegate action to all elements of this enumerable.
(Defined by Extensions.)
Public Extension MethodGroupedKeyValuePairTKey, TValue
Partitions elements in fixed size Credits to http://stackoverflow.com/a/13731854/465132
(Defined by EnumerableExtensions.)
Public Extension MethodHeadKeyValuePairTKey, TValue
Scala alias for FirstOrDefault
(Defined by Extensions.)
Public Extension MethodIteratorKeyValuePairTKey, TValue
TBD
(Defined by EnumeratorExtensions.)
Public Extension MethodMatchOverloaded.
Matches the specified target.
(Defined by PatternMatch.)
Public Extension MethodMatchTOverloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.)
Public Extension MethodShouldBeKeyValuePairTKey, TValue
TBD
(Defined by AkkaSpecExtensions.)
Public Extension MethodShouldOnlyContainInOrderKeyValuePairTKey, TValue
TBD
(Defined by AkkaSpecExtensions.)
Public Extension MethodTakeRightKeyValuePairTKey, TValue
Selects last n elements.
(Defined by Extensions.)
Top
See Also