Click or drag to resize

IDataGetPartitionHash Method

Returns partition hash calculated for serialized object.

Namespace:  Hazelcast.IO.Serialization
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
int GetPartitionHash()

Return Value

Type: Int32
partition 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