com.hazelcast.cluster
Interface ClusterClock

All Known Implementing Classes:
ClusterClockImpl

public interface ClusterClock


Method Summary
 long getClusterTime()
          Returns the cluster-time in milliseconds.
 long getClusterTimeDiff()
           
 

Method Detail

getClusterTime

long getClusterTime()
Returns the cluster-time in milliseconds. The cluster-time measures elapsed time since the cluster was created. Comparable to the System.nanoTime().

Returns:
the cluster-time (elapsed milliseconds since the cluster was created).

getClusterTimeDiff

long getClusterTimeDiff()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.