Class RendezvousAffinityFunction
Affinity function for partitioned cache based on Highest Random Weight algorithm.
Implements
Inherited Members
Namespace: Apache.Ignite.Core.Cache.Affinity.Rendezvous
Assembly: Apache.Ignite.Core.dll
Syntax
public class RendezvousAffinityFunction : AffinityFunctionBase, IAffinityFunction
Properties
AffinityBackupFilter
Gets or sets an optional backup filter. If provided, then backups will be selected from all nodes that pass this filter. First node being passed to this filter is a node being tested, and the second parameter is a list of nodes that are already assigned for a given partition (primary node is the first in the list).
Note that AffinityBackupFilter is ignored when
ExcludeNeighbors is true
.
Only one predefined implementation is supported for now: ClusterNodeAttributeAffinityBackupFilter.
Declaration
public IAffinityBackupFilter AffinityBackupFilter { get; set; }
Property Value
Type | Description |
---|---|
IAffinityBackupFilter |