Click or drag to resize
Akka.NETLocalGCounter Structure
A wrapper around GCounter 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.129 (1.2.3.129)
Syntax
public struct LocalGCounter : ISurrogated

The LocalGCounter type exposes the following members.

Constructors
  NameDescription
Public methodLocalGCounter
TBD
Top
Properties
  NameDescription
Public propertyValue
Returns a value of the underlying GCounter.
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 GCounter 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(LocalGCounter, BigInteger)
Increments current GCounter value by provided delta in current cluster node context.
Public operatorStatic memberAddition(LocalGCounter, UInt64)
Increments current GCounter value by provided delta in current cluster node context.
Public operatorStatic member(LocalGCounter to GCounter)
Performs an implicit conversion from LocalGCounter to GCounter.
Public operatorStatic memberIncrement
Increments current GCounter value by 1 in current cluster node context.
Top
Extension Methods
See Also