Package io.atomix.utils.time
Interface Clock<T extends Timestamp>
-
- All Known Implementing Classes:
LogicalClock,VectorClock,WallClock
public interface Clock<T extends Timestamp>Clock.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetTime()Returns the current time of the clock.
-
-
-
Method Detail
-
getTime
T getTime()
Returns the current time of the clock.- Returns:
- the current time
-
-