Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Calculate the partition ID to which the specified Binary should be naturally assigned. This calculation should not be applied to Binary objects decorated with artificially assigned partitions.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public int CalculateNaturalPartition(
	int cPartitions
)

Parameters

cPartitions
Type: System..::.Int32
The partition count.

Return Value

The partition that the this Binary is naturally assigned to.

Remarks

The resulting partition ID will be in the range [0..cPartitions).

See Also