Click or drag to resize

IClusterGetClusterTime Method

Returns the cluster-wide time in milliseconds.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
long GetClusterTime()

Return Value

Type: Int64
cluster-wide time
Remarks
Returns the cluster-wide time in milliseconds.

ICluster tries to keep a cluster-wide time which is might be different than the member's own system time. ICluster-wide time is -almost- the same on all members of the cluster.

See Also