| LocalPNCounterDictionaryTKey Structure |
Namespace: Akka.DistributedData.Local
public struct LocalPNCounterDictionary<TKey> : ISurrogated, IEnumerable<KeyValuePair<TKey, BigInteger>>, IEnumerable
The LocalPNCounterDictionaryTKey type exposes the following members.
| Name | Description | |
|---|---|---|
| LocalPNCounterDictionaryTKey |
TBD
|
| Name | Description | |
|---|---|---|
| Count |
Returns number of elements inside the underlying PNCounterDictionary.
| |
| Entries |
Returns collection of the elements inside the underlying PNCounterDictionary.
| |
| IsEmpty |
Determines if underlying PNCounterDictionary is empty.
| |
| Item |
Gets or sets provided key-value of the underlying PNCounterDictionary within scope of the current cluster node.
| |
| Keys |
Returns all keys stored within underlying PNCounterDictionary.
| |
| Values |
Returns all values stored in all buckets within underlying PNCounterDictionary.
|
| Name | Description | |
|---|---|---|
| ContainsKey |
Gets value determining, if underlying PNCounterDictionary contains specified key.
| |
| Decrement |
Decrement the counter with the delta specified.
If the delta is negative then it will increment instead of decrement.
| |
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| 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 |
TBD
| |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Increment |
Increment the counter with the delta specified.
If the delta is negative then it will decrement instead of increment.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Merge |
Merges data from provided PNCounterDictionaryTKey into current CRDT,
creating new immutable instance in a result.
| |
| Remove |
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.
| |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
| ToSurrogate |
TBD
| |
| TryGetValue |
Tries to retrieve element stored under provided key in the underlying PNCounterDictionary,
returning true if such value existed.
|
| Name | Description | |
|---|---|---|
| (LocalPNCounterDictionaryTKey to PNCounterDictionaryTKey) |
TBD
|
| Name | Description | |
|---|---|---|
| AsInstanceOfT |
TBD
(Defined by Extensions.) | |
| ConcatKeyValuePairTKey, BigInteger |
TBD
(Defined by Extensions.) | |
| DropKeyValuePairTKey, BigInteger |
Scala alias for Skip
(Defined by Extensions.) | |
| ForEachKeyValuePairTKey, BigInteger |
Applies a delegate action to all elements of this enumerable.
(Defined by Extensions.) | |
| GroupedKeyValuePairTKey, BigInteger |
Partitions elements in fixed size
Credits to http://stackoverflow.com/a/13731854/465132
(Defined by EnumerableExtensions.) | |
| HeadKeyValuePairTKey, BigInteger |
Scala alias for FirstOrDefault
(Defined by Extensions.) | |
| IteratorKeyValuePairTKey, BigInteger |
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.) | |
| ShouldBeKeyValuePairTKey, BigInteger |
TBD
(Defined by AkkaSpecExtensions.) | |
| ShouldOnlyContainInOrderKeyValuePairTKey, BigInteger |
TBD
(Defined by AkkaSpecExtensions.) | |
| TakeRightKeyValuePairTKey, BigInteger |
Selects last n elements.
(Defined by Extensions.) |