Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
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: 12.2.1.4014 (12.2.1.4014)
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).