Class ShardRegionStats
Entity allocation statistics for a specific shard region.
Inheritance
ShardRegionStats
Assembly: Akka.Cluster.Sharding.dll
Syntax
[Serializable]
public sealed class ShardRegionStats : IClusterShardingSerializable, IEquatable<ShardRegionStats>
Constructors
|
Improve this Doc
View Source
ShardRegionStats(IImmutableDictionary<String, Int32>)
Creates a new ShardRegionStats instance.
Declaration
[Obsolete("Use constructor with `failed` argument. Obsolete since 1.5.0-alpha1")]
public ShardRegionStats(IImmutableDictionary<string, int> stats)
Parameters
Type |
Name |
Description |
System.Collections.Immutable.IImmutableDictionary<String, Int32> |
stats |
the region stats mapping of ShardId to number of entities
|
|
Improve this Doc
View Source
ShardRegionStats(IImmutableDictionary<String, Int32>, IImmutableSet<String>)
Creates a new ShardRegionStats instance.
Declaration
public ShardRegionStats(IImmutableDictionary<string, int> stats, IImmutableSet<string> failed)
Parameters
Type |
Name |
Description |
System.Collections.Immutable.IImmutableDictionary<String, Int32> |
stats |
the region stats mapping of ShardId to number of entities
|
System.Collections.Immutable.IImmutableSet<String> |
failed |
set of shards if any failed to respond within the timeout
|
Fields
|
Improve this Doc
View Source
Failed
set of shards if any failed to respond within the timeout
Declaration
public readonly IImmutableSet<string> Failed
Field Value
Type |
Description |
System.Collections.Immutable.IImmutableSet<String> |
|
|
Improve this Doc
View Source
Stats
the region stats mapping of ShardId
to number of entities
Declaration
public readonly IImmutableDictionary<string, int> Stats
Field Value
Type |
Description |
System.Collections.Immutable.IImmutableDictionary<String, Int32> |
|
Methods
|
Improve this Doc
View Source
Equals(ShardRegionStats)
Declaration
public bool Equals(ShardRegionStats other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods