Apache Ignite.NET
Apache.Ignite.Core.Cache.Affinity.Rendezvous.RendezvousAffinityFunction Class Reference

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

Inheritance diagram for Apache.Ignite.Core.Cache.Affinity.Rendezvous.RendezvousAffinityFunction:
Apache.Ignite.Core.Cache.Affinity.AffinityFunctionBase Apache.Ignite.Core.Cache.Affinity.IAffinityFunction

Additional Inherited Members

- Public Member Functions inherited from Apache.Ignite.Core.Cache.Affinity.AffinityFunctionBase
virtual int GetPartition (object key)
 Gets partition number for a given key starting from 0. Partitioned caches should make sure that keys are about evenly distributed across all partitions from 0 to Partitions for best performance. More...
 
virtual void RemoveNode (Guid nodeId)
 Removes node from affinity. This method is called when it is safe to remove disconnected node from affinity mapping. More...
 
virtual IEnumerable< IEnumerable< IClusterNode > > AssignPartitions (AffinityFunctionContext context)
 Gets affinity nodes for a partition. In case of replicated cache, all returned nodes are updated in the same manner. In case of partitioned cache, the returned list should contain only the primary and back up nodes with primary node being always first. <pare> Note that partitioned affinity must obey the following contract: given that node More...
 
- Public Attributes inherited from Apache.Ignite.Core.Cache.Affinity.AffinityFunctionBase
const int DefaultPartitions = 1024
 The default value for Partitions property. More...
 
- Properties inherited from Apache.Ignite.Core.Cache.Affinity.AffinityFunctionBase
virtual int Partitions [get, set]
 Gets or sets the total number of partitions. More...
 
virtual bool ExcludeNeighbors [get, set]
 Gets or sets a value indicating whether to exclude same-host-neighbors from being backups of each other. More...
 
- Properties inherited from Apache.Ignite.Core.Cache.Affinity.IAffinityFunction
int Partitions [get]
 Gets the total number of partitions. More...
 

Detailed Description