| IDataGetPartitionHash Method |
Returns partition hash calculated for serialized object.
Namespace:
Hazelcast.IO.Serialization
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax Function GetPartitionHash As Integer
abstract GetPartitionHash : unit -> int
Return Value
Type:
Int32partition hash
Remarks
Returns partition hash calculated for serialized object.
Partition hash is used to determine partition of a Data and is calculated using
IPartitioningStrategy
during serialization.
If partition hash is not set then standard hashCode() is used.
See Also Reference
SerializationService.ToData(Object, IPartitioningStrategy)