BinaryCalculateNaturalPartition Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-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: 14.1.1.14 (14.1.1.14)
Syntaxpublic int CalculateNaturalPartition(
int cPartitions
)
Parameters
- cPartitions
- Type: SystemInt32
The partition count.
Return Value
Type:
Int32
The partition that the this
Binary is naturally assigned to.
Remarks
The resulting partition ID will be in the range [0..cPartitions).
See Also