Package com.dynatrace.openkit.providers
Interface TimingProvider
-
- All Known Implementing Classes:
DefaultTimingProvider
public interface TimingProviderInterface providing timing related functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longprovideTimestampInMilliseconds()Provide the current timestamp in milliseconds.longprovideTimestampInNanoseconds()Provide the current timestamp in nanoseconds.voidsleep(long milliseconds)Sleep given amount of milliseconds.
-
-
-
Method Detail
-
provideTimestampInMilliseconds
long provideTimestampInMilliseconds()
Provide the current timestamp in milliseconds.
-
provideTimestampInNanoseconds
long provideTimestampInNanoseconds()
Provide the current timestamp in nanoseconds.
-
sleep
void sleep(long milliseconds) throws java.lang.InterruptedExceptionSleep given amount of milliseconds.- Throws:
java.lang.InterruptedException- When the sleep call gets interrupted.
-
-