Returns partition hash calculated for serialized object.
Namespace: Hazelcast.IO.SerializationAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.1.0
Function GetPartitionHash As Integer
abstract GetPartitionHash : unit -> int
Return Value
Type:
Int32partition hash
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.
Reference
SerializationService.ToData(Object, IPartitioningStrategy)