Package com.gigaspaces.time
Interface ITimeProvider
- All Known Implementing Classes:
AbsoluteTime,RelativeTime
public interface ITimeProvider
Interface to specify custom implementation of precise timer.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanlongReturns the current value of the most precise available system timer, in milliseconds.
-
Method Details
-
timeMillis
long timeMillis()Returns the current value of the most precise available system timer, in milliseconds.- Returns:
- The current value of the system timer, in milliseconds.
-
isRelative
boolean isRelative()
-