BinaryCalculateNaturalPartition Method |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
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.1 (14.1.1.1)
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