Search Results for

Show / Hide Table of Contents

# Class RendezvousAffinityFunction

Affinity function for partitioned cache based on Highest Random Weight algorithm.

##### Inheritance

System.Object
AffinityFunctionBase
RendezvousAffinityFunction

##### Implements

IAffinityFunction

##### Inherited Members

AffinityFunctionBase.DefaultPartitions
AffinityFunctionBase.Partitions
AffinityFunctionBase.GetPartition(Object)
AffinityFunctionBase.RemoveNode(Guid)
AffinityFunctionBase.AssignPartitions(AffinityFunctionContext)
AffinityFunctionBase.ExcludeNeighbors

###### 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 |

### Implements

IAffinityFunction