Click or drag to resize
Akka.NETLocalPNCounter Structure
A wrapper around PNCounter instance, that binds it's operations to a current cluster node.

Namespace:  Akka.DistributedData.Local
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public struct LocalPNCounter : ISurrogated

The LocalPNCounter type exposes the following members.

Constructors
  NameDescription
Public methodLocalPNCounter
TBD
Top
Properties
  NameDescription
Public propertyValue
Returns value of the underlying PNCounter.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
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
Returns the hash code for this instance.
(Inherited from ValueType.)
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
Merges data from provided PNCounter into current CRDT, creating new immutable instance in a result.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodToSurrogate
TBD
Top
Operators
  NameDescription
Public operatorStatic memberAddition(LocalPNCounter, BigInteger)
Increments value of the underlying PNCounter by provided delta in current cluster node context.
Public operatorStatic memberAddition(LocalPNCounter, UInt64)
Increments value of the underlying PNCounter by provided delta in current cluster node context.
Public operatorStatic memberDecrement
Decrements value of the underlying PNCounter by 1 in current cluster node context.
Public operatorStatic member(LocalPNCounter to PNCounter)
TBD
Public operatorStatic memberIncrement
Increments value of the underlying PNCounter by 1 in current cluster node context.
Public operatorStatic memberSubtraction(LocalPNCounter, BigInteger)
Decrements value of the underlying PNCounter by provided delta in current cluster node context.
Public operatorStatic memberSubtraction(LocalPNCounter, UInt64)
Decrements value of the underlying PNCounter by provided delta in current cluster node context.
Top
Extension Methods
See Also