| PNCounterIncrement Method (UniqueAddress, Int64) |
Increment the counter with the delta specified.
If the delta is negative then it will decrement instead of increment.
Namespace:
Akka.DistributedData
Assembly:
Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public PNCounter Increment(
UniqueAddress address,
long delta = 1
)
member Increment :
address : UniqueAddress *
?delta : int64
(* Defaults:
let _delta = defaultArg delta 1
*)
-> PNCounter
Parameters
- address
- Type: Akka.ClusterUniqueAddress
[Missing <param name="address"/> documentation for "M:Akka.DistributedData.PNCounter.Increment(Akka.Cluster.UniqueAddress,System.Int64)"]
- delta (Optional)
- Type: SystemInt64
[Missing <param name="delta"/> documentation for "M:Akka.DistributedData.PNCounter.Increment(Akka.Cluster.UniqueAddress,System.Int64)"]
Return Value
Type:
PNCounter[Missing <returns> documentation for "M:Akka.DistributedData.PNCounter.Increment(Akka.Cluster.UniqueAddress,System.Int64)"]
See Also